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:
Serializable,GuiTitlable,Idable,ListItem
- Direct Known Subclasses:
ContractObjectType,ContractParameterGroup
Сущность/Тип объекта/Группа параметров
ObjectType
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ru.bitel.common.model.IdTitle
IdTitle.Builder, IdTitle.IdTitleBuilder -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreateEntityTitle(int entityId, String title, EntitySpec spec, Map<Integer, EntityAttr> attributes) createEntityTitle(Entity entity) List<? extends AbstractSpecAttr> intbooleanisHidden()setAttributeList(List<? extends AbstractSpecAttr> attributes) setComment(String comment) setEntitySpecTypeId(int entitySpecTypeId) setEntityTitleMacros(String entityTitleMakros) setHidden(boolean hidden) setId(int id) Устанавливает id объектаsetModuleIds(Set<Integer> moduleIds) Устанавливает название (описание) объектаMethods inherited from class ru.bitel.common.model.IdTitle
copyTo, getGuiTitle, getTitle, to, toIdTitle, toStringMethods inherited from class ru.bitel.common.model.Id
copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap
-
Constructor Details
-
EntitySpec
public EntitySpec() -
EntitySpec
-
-
Method Details
-
getModuleIds
-
getEntitySpecTypeId
public int getEntitySpecTypeId() -
getEntityTitleMacros
-
getComment
-
isHidden
public boolean isHidden() -
getAttributeList
-
setHidden
-
setModuleIds
-
setEntitySpecTypeId
-
setEntityTitleMacros
-
setComment
-
setAttributeList
-
createEntityTitle
-
toEntitySpecDTO
-
createEntityTitle
public static String createEntityTitle(int entityId, String title, EntitySpec spec, Map<Integer, EntityAttr> attributes) -
setId
Description copied from class:IdУстанавливает id объекта -
setTitle
Description copied from class:IdTitleУстанавливает название (описание) объекта
-