Package org.cyclos.entities.users
Class RecordSection
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,HasOrder,ProcessableForProxying,IEntity,IInternalNamedEntity,INamedEntity
@Entity public class RecordSection extends ConfigurationOrderableEntity
A section that groups fields from a record type. This is specially useful for record types with many fields, grouping them logically
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description RecordSection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RecordCustomField>getAllFields()DataTranslationTypegetDataTranslationType()If this entity allows data translation, should return the translation typeList<String>getFieldInternalNames()List<RecordCustomField>getFields()StringgetInformationText()NetworkgetNetwork()Returns the network this entity belongs toRecordTypegetRecordType()Set<RecordCustomField>getSelectedFields()List<RecordTypeSharedRecordField>getSharedFields()voidsetFields(List<RecordCustomField> fields)voidsetInformationText(String informationText)voidsetRecordType(RecordType recordType)voidsetSelectedFields(Set<RecordCustomField> selectedFields)voidsetSharedFields(List<RecordTypeSharedRecordField> sharedFields)-
Methods inherited from class org.cyclos.entities.ConfigurationOrderableEntity
compareTo, getOrder, setOrder, toString
-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString
-
Methods inherited from class org.cyclos.entities.NamedEntity
getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getAllFields
public List<RecordCustomField> getAllFields()
-
getDataTranslationType
public DataTranslationType getDataTranslationType()
Description copied from class:BaseEntityIf this entity allows data translation, should return the translation type- Overrides:
getDataTranslationTypein classBaseEntity
-
getFields
public List<RecordCustomField> getFields()
-
getInformationText
public String getInformationText()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
getRecordType
public RecordType getRecordType()
-
getSelectedFields
public Set<RecordCustomField> getSelectedFields()
-
getSharedFields
public List<RecordTypeSharedRecordField> getSharedFields()
-
setFields
public void setFields(List<RecordCustomField> fields)
-
setInformationText
public void setInformationText(String informationText)
-
setRecordType
public void setRecordType(RecordType recordType)
-
setSelectedFields
public void setSelectedFields(Set<RecordCustomField> selectedFields)
-
setSharedFields
public void setSharedFields(List<RecordTypeSharedRecordField> sharedFields)
-
-