Class EntitySpec
java.lang.Object
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
ru.bitel.oss.kernel.entity.common.bean.EntitySpec
- All Implemented Interfaces:
java.io.Serializable,GuiTitlable,Idable,ListItem
- Direct Known Subclasses:
ContractObjectType,ContractParameterGroup
public class EntitySpec extends IdTitle
Сущность/Тип объекта/Группа параметров
ObjectType
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EntitySpec() -
Method Summary
Modifier and Type Method Description static java.lang.StringcreateEntityTitle(int entityId, java.lang.String title, EntitySpec spec, java.util.Map<java.lang.Integer,EntityAttr> attributes)java.lang.StringcreateEntityTitle(Entity entity)java.util.List<EntitySpecAttr>getAttributeList()java.lang.StringgetComment()intgetEntitySpecTypeId()java.lang.StringgetEntityTitleMacros()java.util.Set<java.lang.Integer>getModuleIds()booleanisHidden()voidsetAttributeList(java.util.List<EntitySpecAttr> attributes)voidsetComment(java.lang.String comment)voidsetEntitySpecTypeId(int entitySpecTypeId)voidsetEntityTitleMacros(java.lang.String entityTitleMakros)voidsetHidden(boolean hidden)voidsetModuleIds(java.util.Set<java.lang.Integer> moduleIds)Methods inherited from class ru.bitel.common.model.IdTitle
getGuiTitle, getTitle, setTitle, toStringMethods inherited from class ru.bitel.common.model.Id
equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
EntitySpec
public EntitySpec()
-
-
Method Details
-
getModuleIds
public java.util.Set<java.lang.Integer> getModuleIds() -
setModuleIds
public void setModuleIds(java.util.Set<java.lang.Integer> moduleIds) -
getEntitySpecTypeId
public int getEntitySpecTypeId() -
setEntitySpecTypeId
public void setEntitySpecTypeId(int entitySpecTypeId) -
getEntityTitleMacros
public java.lang.String getEntityTitleMacros() -
setEntityTitleMacros
public void setEntityTitleMacros(java.lang.String entityTitleMakros) -
getComment
public java.lang.String getComment() -
setComment
public void setComment(java.lang.String comment) -
isHidden
public boolean isHidden() -
setHidden
public void setHidden(boolean hidden) -
getAttributeList
-
setAttributeList
-
createEntityTitle
-
createEntityTitle
public static java.lang.String createEntityTitle(int entityId, java.lang.String title, EntitySpec spec, java.util.Map<java.lang.Integer,EntityAttr> attributes)
-