com.atlassian.jira.scheme
Class SchemeEntity
java.lang.Object
com.atlassian.jira.scheme.SchemeEntity
- public class SchemeEntity
- extends 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.
SchemeEntity
public SchemeEntity(String type,
Object entityTypeId)
- Create a new SchemeEntity object
- Parameters:
type
- The entity type. This could be "group", "reporter" etcentityTypeId
- 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(String type,
String parameter,
Object entityTypeId)
- Create a new SchemeEntity object
- Parameters:
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 and Issue Security schemes this should be a long. For Notification schemes this should be a string
getType
public String getType()
setType
public void setType(String type)
getParameter
public String getParameter()
setParameter
public void setParameter(String parameter)
getEntityTypeId
public Object getEntityTypeId()
setEntityTypeId
public void setEntityTypeId(Object entityTypeId)
equals
public boolean equals(Object o)
hashCode
public int hashCode()
toString
public String toString()
Copyright © 2002-2006 Atlassian. All Rights Reserved.