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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntitySpec.Builder
builder()
static String
createEntityTitle
(int entityId, String title, EntitySpec spec, Map<Integer, EntityAttr> attributes) createEntityTitle
(Entity entity) int
boolean
isHidden()
void
setAttributeList
(List<EntitySpecAttr> attributes) void
setComment
(String comment) void
setEntitySpecTypeId
(int entitySpecTypeId) void
setEntityTitleMacros
(String entityTitleMakros) void
setHidden
(boolean hidden) void
setModuleIds
(Set<Integer> moduleIds) Methods inherited from class ru.bitel.common.model.IdTitle
copyTo, getGuiTitle, getTitle, setTitle, toIdTitle, toString
Methods inherited from class ru.bitel.common.model.Id
copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId
-
Constructor Details
-
EntitySpec
public EntitySpec() -
EntitySpec
-
-
Method Details
-
getModuleIds
-
getEntitySpecTypeId
public int getEntitySpecTypeId() -
getEntityTitleMacros
-
getComment
-
isHidden
public boolean isHidden() -
getAttributeList
-
setHidden
public void setHidden(boolean hidden) -
setModuleIds
-
setEntitySpecTypeId
public void setEntitySpecTypeId(int entitySpecTypeId) -
setEntityTitleMacros
-
setComment
-
setAttributeList
-
createEntityTitle
-
toEntitySpecDTO
-
createEntityTitle
public static String createEntityTitle(int entityId, String title, EntitySpec spec, Map<Integer, EntityAttr> attributes) -
builder
-