Class EditorAttribute
- java.lang.Object
-
- org.molgenis.metadata.manager.model.EditorAttribute
-
public abstract class EditorAttribute extends Object
-
-
Constructor Summary
Constructors Constructor Description EditorAttribute()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static EditorAttributecreate(String id, String name, String type, EditorAttributeIdentifier parent, EditorEntityTypeIdentifier refEntityType, boolean cascadeDelete, EditorAttributeIdentifier mappedByAttribute, EditorSort orderBy, String expression, boolean nullable, boolean auto, boolean visible, String label, Map<String,String> i18nLabel, String description, Map<String,String> i18nDescription, boolean aggregatable, List<String> enumOptions, Long rangeMin, Long rangeMax, boolean readonly, boolean unique, List<EditorTagIdentifier> tags, String nullableExpression, String visibleExpression, String validationExpression, String defaultValue, Integer sequenceNumber)abstract StringgetDefaultValue()abstract StringgetDescription()abstract Map<String,String>getDescriptionI18n()abstract List<String>getEnumOptions()abstract StringgetExpression()abstract StringgetId()abstract StringgetLabel()abstract Map<String,String>getLabelI18n()abstract EditorAttributeIdentifiergetMappedByAttribute()abstract StringgetName()abstract StringgetNullableExpression()abstract EditorSortgetOrderBy()abstract EditorAttributeIdentifiergetParent()abstract LonggetRangeMax()abstract LonggetRangeMin()abstract EditorEntityTypeIdentifiergetRefEntityType()abstract IntegergetSequenceNumber()abstract List<EditorTagIdentifier>getTags()abstract StringgetType()abstract StringgetValidationExpression()abstract StringgetVisibleExpression()abstract booleanisAggregatable()abstract booleanisAuto()abstract booleanisCascadeDelete()abstract booleanisNullable()abstract booleanisReadonly()abstract booleanisUnique()abstract booleanisVisible()
-
-
-
Method Detail
-
getId
public abstract String getId()
-
getName
@Nullable @CheckForNull public abstract String getName()
-
getType
@Nullable @CheckForNull public abstract String getType()
-
getParent
@Nullable @CheckForNull public abstract EditorAttributeIdentifier getParent()
-
getRefEntityType
@Nullable @CheckForNull public abstract EditorEntityTypeIdentifier getRefEntityType()
-
isCascadeDelete
public abstract boolean isCascadeDelete()
-
getMappedByAttribute
@Nullable @CheckForNull public abstract EditorAttributeIdentifier getMappedByAttribute()
-
getOrderBy
@Nullable @CheckForNull public abstract EditorSort getOrderBy()
-
getExpression
@Nullable @CheckForNull public abstract String getExpression()
-
isNullable
public abstract boolean isNullable()
-
isAuto
public abstract boolean isAuto()
-
isVisible
public abstract boolean isVisible()
-
getLabel
@Nullable @CheckForNull public abstract String getLabel()
-
getDescription
@Nullable @CheckForNull public abstract String getDescription()
-
isAggregatable
public abstract boolean isAggregatable()
-
getRangeMin
@Nullable @CheckForNull public abstract Long getRangeMin()
-
getRangeMax
@Nullable @CheckForNull public abstract Long getRangeMax()
-
isReadonly
public abstract boolean isReadonly()
-
isUnique
public abstract boolean isUnique()
-
getTags
public abstract List<EditorTagIdentifier> getTags()
-
getNullableExpression
@Nullable @CheckForNull public abstract String getNullableExpression()
-
getVisibleExpression
@Nullable @CheckForNull public abstract String getVisibleExpression()
-
getValidationExpression
@Nullable @CheckForNull public abstract String getValidationExpression()
-
getDefaultValue
@Nullable @CheckForNull public abstract String getDefaultValue()
-
getSequenceNumber
public abstract Integer getSequenceNumber()
-
create
public static EditorAttribute create(String id, @Nullable @CheckForNull String name, @Nullable @CheckForNull String type, EditorAttributeIdentifier parent, EditorEntityTypeIdentifier refEntityType, boolean cascadeDelete, EditorAttributeIdentifier mappedByAttribute, EditorSort orderBy, String expression, boolean nullable, boolean auto, boolean visible, @Nullable @CheckForNull String label, Map<String,String> i18nLabel, @Nullable @CheckForNull String description, Map<String,String> i18nDescription, boolean aggregatable, @Nullable @CheckForNull List<String> enumOptions, @Nullable @CheckForNull Long rangeMin, @Nullable @CheckForNull Long rangeMax, boolean readonly, boolean unique, List<EditorTagIdentifier> tags, @Nullable @CheckForNull String nullableExpression, @Nullable @CheckForNull String visibleExpression, @Nullable @CheckForNull String validationExpression, @Nullable @CheckForNull String defaultValue, Integer sequenceNumber)
-
-