Class EntityAttrList
java.lang.Object
ru.bitel.oss.kernel.entity.common.bean.EntityAttr
ru.bitel.oss.kernel.entity.common.bean.EntityAttrList
public class EntityAttrList extends EntityAttr
Значение спискового параметра.
- See Also:
EntitySpecAttrListItem
-
Constructor Summary
Constructors Constructor Description EntityAttrList()
EntityAttrList(int entityId, int entitySpecAttrId, int value, java.lang.String title)
-
Method Summary
Modifier and Type Method Description java.lang.String
getCustomValue()
java.lang.String
getTitle()
int
getType()
Возвращает тип параметра -EntitySpecAttr#TYPE_TEXT
,EntitySpecAttr#TYPE_LIST
,EntitySpecAttr#TYPE_EMAIL
и т.д.java.lang.String
getTypeName()
Возвращает строковое представление типа параметра, например, "text", "list", "email" и т.д.int
getValue()
void
setCustomValue(java.lang.String customValue)
void
setTitle(java.lang.String title)
void
setValue(int value)
java.lang.String
toString()
Methods inherited from class ru.bitel.oss.kernel.entity.common.bean.EntityAttr
getEntityId, getEntitySpecAttrId, newInstance, setEntityId, setEntitySpecAttrId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
EntityAttrList
public EntityAttrList() -
EntityAttrList
public EntityAttrList(int entityId, int entitySpecAttrId, int value, java.lang.String title)
-
-
Method Details
-
getType
public int getType()Description copied from class:EntityAttr
Возвращает тип параметра -EntitySpecAttr#TYPE_TEXT
,EntitySpecAttr#TYPE_LIST
,EntitySpecAttr#TYPE_EMAIL
и т.д.- Specified by:
getType
in classEntityAttr
- Returns:
- See Also:
EntitySpecAttr
-
getTypeName
public java.lang.String getTypeName()Description copied from class:EntityAttr
Возвращает строковое представление типа параметра, например, "text", "list", "email" и т.д.- Specified by:
getTypeName
in classEntityAttr
- Returns:
-
getValue
public int getValue() -
setValue
public void setValue(int value) -
getTitle
public java.lang.String getTitle() -
setTitle
public void setTitle(java.lang.String title) -
getCustomValue
public java.lang.String getCustomValue() -
setCustomValue
public void setCustomValue(java.lang.String customValue) -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-