|
|||||||||
| Home >> All >> ru >> gammalabs >> ice >> [ iemanagement overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
ru.gammalabs.ice.iemanagement
Class IFType

java.lang.Objectru.gammalabs.ice.iemanagement.IFType
- public class IFType
- extends java.lang.Object
Represents type of fields of information element IE and
type of fields of type of information element IEType.
In application there are only fixing set of IFType objects.
These objects are as constants in class IFTypeManager.
| Field Summary | |
private boolean |
automatic
true if this type of information field
can be set only by application, not by user |
private boolean |
canBeDefault
true if this type of information field
can be set as defualt in type of information element for
any information element of this type. |
private boolean |
canByMandatory
true if this type of information field
can be set as mandatory in type of information element for
any information element of this type, that is information element of this type
can not has null field of this type. |
private java.lang.Class |
clazz
The class of objects which can be value of this type of information field. |
private ru.gammalabs.ice.publishing.framework.Id |
id
The identifier of this field type. |
private static org.apache.log4j.Category |
log
For debuging errors |
private int |
maxLength
The maximum possible length of this field type. |
private ru.gammalabs.ice.publishing.MLString |
name
The name. |
private boolean |
system
true if this type of information field must be for
any information element and type of information element. |
| Constructor Summary | |
IFType()
Empty constructor. |
|
| Method Summary | |
java.lang.Class |
getClazz()
Returns class objects which can be value of this type of information field. |
ru.gammalabs.ice.publishing.framework.Id |
getId()
Returns identifier of this field type. |
int |
getMaxLength()
Returns maximum possible length of this field type. |
ru.gammalabs.ice.publishing.MLString |
getName()
Returns multi-langauge name of this type of field. |
java.lang.String |
getName(java.util.Locale locale)
Returns name of this field type in locale locale. |
boolean |
isAutomatic()
Returns true if this type of information field
can be set only by application, not by user. |
boolean |
isBeDefault()
Returns true if this type of information field
can be set as defualt in type of information element for
any information element of this type. |
boolean |
isBeMandatory()
Returns true if this type of information field
can be set as mandatory in type of information element for
any information element of this type, that is information element of this type
can not has null field of this type. |
boolean |
isSystem()
Returns true if this type of information field must exist for
any information element and type of information element. |
void |
setAutomatic(boolean automatic)
Sets true if this type of information field
can be set only by application, not by user. |
void |
setBeDefault(boolean canBeDefault)
Sets true if this type of information field
can be set as defualt in type of information element for
any information element of this type. |
void |
setBeMandatory(boolean canByMandatory)
Sets true if this type of information field
can be set as mandatory in type of information element for
any information element of this type, that is information element of this type
can not has null field of this type. |
void |
setClazz(java.lang.Class clazz)
Sets class such as class of objects which can be value of this type of information field. |
void |
setId(ru.gammalabs.ice.publishing.framework.Id id)
Sets identifier for this field type. |
void |
setMaxLength(int maxLength)
Sets maximum possible length of this field type. |
void |
setName(ru.gammalabs.ice.publishing.MLString str)
Sets name of this field type. |
void |
setSystem(boolean system)
Sets true if this type of information field must exist for
any information element and type of information element. |
java.lang.String |
toString()
Returns describing string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
log
private static final org.apache.log4j.Category log
- For debuging errors
maxLength
private int maxLength
- The maximum possible length of this field type.
id
private ru.gammalabs.ice.publishing.framework.Id id
- The identifier of this field type.
name
private ru.gammalabs.ice.publishing.MLString name
- The name.
clazz
private java.lang.Class clazz
- The class of objects which can be value of this type of information field.
system
private boolean system
trueif this type of information field must be for any information element and type of information element.
canBeDefault
private boolean canBeDefault
trueif this type of information field can be set as defualt in type of information element for any information element of this type.
canByMandatory
private boolean canByMandatory
trueif this type of information field can be set as mandatory in type of information element for any information element of this type, that is information element of this type can not has null field of this type.
automatic
private boolean automatic
trueif this type of information field can be set only by application, not by user
| Constructor Detail |
IFType
public IFType()
- Empty constructor.
| Method Detail |
getId
public ru.gammalabs.ice.publishing.framework.Id getId()
- Returns identifier of this field type.
getName
public ru.gammalabs.ice.publishing.MLString getName()
- Returns multi-langauge name of this type of field.
getName
public java.lang.String getName(java.util.Locale locale)
- Returns name of this field type in locale
locale.
getClazz
public java.lang.Class getClazz()
- Returns class objects which can be value of this type of information field.
isSystem
public boolean isSystem()
- Returns
trueif this type of information field must exist for any information element and type of information element.
isBeDefault
public boolean isBeDefault()
- Returns
trueif this type of information field can be set as defualt in type of information element for any information element of this type.
isBeMandatory
public boolean isBeMandatory()
- Returns
trueif this type of information field can be set as mandatory in type of information element for any information element of this type, that is information element of this type can not has null field of this type.
isAutomatic
public boolean isAutomatic()
- Returns
trueif this type of information field can be set only by application, not by user.
getMaxLength
public int getMaxLength()
- Returns maximum possible length of this field type.
setId
public void setId(ru.gammalabs.ice.publishing.framework.Id id)
- Sets identifier for this field type.
setName
public void setName(ru.gammalabs.ice.publishing.MLString str)
- Sets name of this field type.
setClazz
public void setClazz(java.lang.Class clazz)
- Sets class such as class of objects which can be value of this type of information field.
setSystem
public void setSystem(boolean system)
- Sets
trueif this type of information field must exist for any information element and type of information element.
setBeDefault
public void setBeDefault(boolean canBeDefault)
- Sets
trueif this type of information field can be set as defualt in type of information element for any information element of this type.
setBeMandatory
public void setBeMandatory(boolean canByMandatory)
- Sets
trueif this type of information field can be set as mandatory in type of information element for any information element of this type, that is information element of this type can not has null field of this type.
setAutomatic
public void setAutomatic(boolean automatic)
- Sets
trueif this type of information field can be set only by application, not by user.
setMaxLength
public void setMaxLength(int maxLength)
- Sets maximum possible length of this field type.
toString
public java.lang.String toString()
- Returns describing string.
|
|||||||||
| Home >> All >> ru >> gammalabs >> ice >> [ iemanagement overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
ru.gammalabs.ice.iemanagement.IFType