Package com.soffid.iam.model
Class CustomObjectEntity
- java.lang.Object
-
- com.soffid.iam.model.CustomObjectEntity
-
- Direct Known Subclasses:
CustomObjectEntityImpl
public abstract class CustomObjectEntity extends Object
Entity CustomObjectEntity
-
-
Constructor Summary
Constructors Constructor Description CustomObjectEntity()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)Returnstrueif the argument is an CustomObjectEntity instance and all identifiers for this entity equal the identifiers of the argument entity.Collection<CustomObjectAttributeEntity>getAttributes()Gets value for attribute attributesStringgetDescription()Gets value for attribute descriptionLonggetId()Gets value for attribute idStringgetName()Gets value for attribute nameCustomObjectTypeEntitygetType()Gets value for attribute typeinthashCode()Returns a hash code based on this entity's identifiers.abstract booleanisAllowed(String permission)Operation isAllowed Returns true if the permission on this object is grantedvoidsetAttributes(Collection<CustomObjectAttributeEntity> attributes)Sets value for attribute attributesvoidsetDescription(String description)Sets value for attribute descriptionvoidsetId(Long id)Sets value for attribute idvoidsetName(String name)Sets value for attribute namevoidsetType(CustomObjectTypeEntity type)Sets value for attribute type
-
-
-
Method Detail
-
getId
public Long getId()
Gets value for attribute id
-
setId
public void setId(Long id)
Sets value for attribute id
-
getName
public String getName()
Gets value for attribute name
-
setName
public void setName(String name)
Sets value for attribute name
-
getDescription
public String getDescription()
Gets value for attribute description
-
setDescription
public void setDescription(String description)
Sets value for attribute description
-
getType
public CustomObjectTypeEntity getType()
Gets value for attribute type
-
setType
public void setType(CustomObjectTypeEntity type)
Sets value for attribute type
-
getAttributes
public Collection<CustomObjectAttributeEntity> getAttributes()
Gets value for attribute attributes
-
setAttributes
public void setAttributes(Collection<CustomObjectAttributeEntity> attributes)
Sets value for attribute attributes
-
isAllowed
public abstract boolean isAllowed(String permission)
Operation isAllowed Returns true if the permission on this object is granted- Parameters:
permission-- Returns:
-
equals
public boolean equals(Object object)
Returnstrueif the argument is an CustomObjectEntity instance and all identifiers for this entity equal the identifiers of the argument entity. Returnsfalseotherwise.
-
-