com.atlassian.jira.scheme
Class SchemeEntity

java.lang.Object
  extended bycom.atlassian.jira.scheme.SchemeEntity

public class SchemeEntity
extends java.lang.Object

This objected is used to hold the values of an entity which is part of a scheme. This could be a permission, notification etc.


Constructor Summary
SchemeEntity(java.lang.String type, java.lang.Object entityTypeId)
          Create a new SchemeEntity object
SchemeEntity(java.lang.String type, java.lang.String parameter, java.lang.Object entityTypeId)
          Create a new SchemeEntity object
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Object getEntityTypeId()
           
 java.lang.String getParameter()
           
 java.lang.String getType()
           
 int hashCode()
           
 void setEntityTypeId(java.lang.Object entityTypeId)
           
 void setParameter(java.lang.String parameter)
           
 void setType(java.lang.String type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SchemeEntity

public SchemeEntity(java.lang.String type,
                    java.lang.Object entityTypeId)
Create a new SchemeEntity object

Parameters:
type - The entity type. This could be "group", "reporter" etc
entityTypeId - The id of the entity. For Permission and Issue Security schemes this should be a long. For Notification schemes this should be a string

SchemeEntity

public SchemeEntity(java.lang.String type,
                    java.lang.String parameter,
                    java.lang.Object entityTypeId)
Create a new SchemeEntity object

Parameters:
type - The entity type. This could be "group", "reporter" etc
parameter - The parameter value of the entity. If the type is group this value will be the group name
entityTypeId - The id of the entity. For Permission and Issue Security schemes this should be a long. For Notification schemes this should be a string
Method Detail

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

getParameter

public java.lang.String getParameter()

setParameter

public void setParameter(java.lang.String parameter)

getEntityTypeId

public java.lang.Object getEntityTypeId()

setEntityTypeId

public void setEntityTypeId(java.lang.Object entityTypeId)

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

toString

public java.lang.String toString()