|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.scheme.SchemeEntity
public class SchemeEntity
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(Long id,
String type,
String parameter,
Object entityTypeId,
Object templateId,
Long schemeId)
Create a new SchemeEntity object |
|
SchemeEntity(String type,
Object entityTypeId)
Create a new SchemeEntity object |
|
SchemeEntity(String type,
String parameter,
Object entityTypeId)
Create a new SchemeEntity object |
|
SchemeEntity(String type,
String parameter,
Object entityTypeId,
Object templateId)
|
Method Summary | |
---|---|
int |
compareTo(Object o)
|
boolean |
equals(Object o)
|
Object |
getEntityTypeId()
|
Long |
getId()
|
String |
getParameter()
|
Long |
getSchemeId()
|
Object |
getTemplateId()
|
String |
getType()
|
int |
hashCode()
|
void |
setEntityTypeId(Object entityTypeId)
|
void |
setId(Long id)
|
void |
setParameter(String parameter)
|
void |
setSchemeId(Long schemeId)
|
void |
setTemplateId(Object templateId)
|
void |
setType(String type)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SchemeEntity(String type, Object entityTypeId)
type
- The entity type. This could be "group", "reporter" etcentityTypeId
- The id of the entity. For Permission, Notification and Issue Security schemes this should be a long.public SchemeEntity(String type, String parameter, Object entityTypeId)
type
- The entity type. This could be "group", "reporter" etcparameter
- The parameter value of the entity. If the type is group this value will be the group nameentityTypeId
- The id of the entity. For Permission, Notification and Issue Security schemes this should be a long.public SchemeEntity(String type, String parameter, Object entityTypeId, Object templateId)
public SchemeEntity(Long id, String type, String parameter, Object entityTypeId, Object templateId, Long schemeId)
Used when constructing from a GenericValue object - with the ability to specify the GV id in the scheme object and the template ID associated with this entity. Only used in notifications at present.
id
- the id of this entity - obtained from the GenericValue objecttype
- the entity type. This could be "group", "reporter" etcparameter
- the parameter value of the entity. If the type is group this value will be the group nameentityTypeId
- the id of the entity. For Permission, Notification and Issue Security schemes this should be a long.templateId
- the id of the template associated with this entity. Only used for Notification entities at presentschemeId
- the id of the scheme that this entity is a part of.Method Detail |
---|
public String getType()
public void setType(String type)
public String getParameter()
public void setParameter(String parameter)
public Object getEntityTypeId()
public void setEntityTypeId(Object entityTypeId)
public Object getTemplateId()
public void setTemplateId(Object templateId)
public Long getId()
public void setId(Long id)
public Long getSchemeId()
public void setSchemeId(Long schemeId)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public int compareTo(Object o)
compareTo
in interface Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |