Class EntityAttrBoolean
java.lang.Object
ru.bitel.oss.kernel.entity.common.bean.EntityAttr
ru.bitel.oss.kernel.entity.common.bean.EntityAttrBoolean
public class EntityAttrBoolean extends EntityAttr
Атрибут/параметр типа флаг.
-
Constructor Summary
Constructors Constructor Description EntityAttrBoolean()
EntityAttrBoolean(int entityId, int entitySpecAttrId, boolean value)
-
Method Summary
Modifier and Type Method Description int
getType()
Возвращает тип параметра -EntitySpecAttr#TYPE_TEXT
,EntitySpecAttr#TYPE_LIST
,EntitySpecAttr#TYPE_EMAIL
и т.д.java.lang.String
getTypeName()
Возвращает строковое представление типа параметра, например, "text", "list", "email" и т.д.boolean
getValue()
void
setValue(boolean 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
-
EntityAttrBoolean
public EntityAttrBoolean() -
EntityAttrBoolean
public EntityAttrBoolean(int entityId, int entitySpecAttrId, boolean value)
-
-
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 boolean getValue() -
setValue
public void setValue(boolean value) -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-