Class CreateAttributeRequest
- java.lang.Object
-
- org.molgenis.api.metadata.v3.model.CreateAttributeRequest
-
public abstract class CreateAttributeRequest extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateAttributeRequest.Builder
-
Constructor Summary
Constructors Constructor Description CreateAttributeRequest()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static CreateAttributeRequest.Builderbuilder()abstract BooleangetAggregatable()abstract BooleangetAuto()abstract BooleangetCascadeDelete()abstract StringgetDefaultValue()abstract I18nValuegetDescription()abstract List<String>getEnumOptions()abstract StringgetExpression()abstract StringgetId()abstract BooleangetIdAttribute()abstract I18nValuegetLabel()abstract BooleangetLabelAttribute()abstract @Min(0L) IntegergetLookupAttributeIndex()abstract StringgetMappedByAttribute()abstract @NotNull StringgetName()abstract BooleangetNullable()abstract StringgetNullableExpression()abstract com.google.common.collect.ImmutableList<Order>getOrderBy()abstract StringgetParent()abstract RangegetRange()abstract BooleangetReadonly()abstract StringgetRefEntityType()abstract IntegergetSequenceNr()abstract @Pattern(regexp="bool|categorical|categorical_mref|compound|date|date_time|decimal|email|enum|file|html|hyperlink|int|long|mref|one_to_many|script|string|text|xref") StringgetType()abstract BooleangetUnique()abstract StringgetValidationExpression()abstract BooleangetVisible()abstract StringgetVisibleExpression()
-
-
-
Method Detail
-
getId
@Nullable @CheckForNull public abstract String getId()
-
getName
@NotNull public abstract @NotNull String getName()
-
getType
@Pattern(regexp="bool|categorical|categorical_mref|compound|date|date_time|decimal|email|enum|file|html|hyperlink|int|long|mref|one_to_many|script|string|text|xref") @Nullable @CheckForNull public abstract @Pattern(regexp="bool|categorical|categorical_mref|compound|date|date_time|decimal|email|enum|file|html|hyperlink|int|long|mref|one_to_many|script|string|text|xref") String getType()
-
getParent
@Nullable @CheckForNull public abstract String getParent()
-
getRefEntityType
@Nullable @CheckForNull public abstract String getRefEntityType()
-
getCascadeDelete
@Nullable @CheckForNull public abstract Boolean getCascadeDelete()
-
getMappedByAttribute
@Nullable @CheckForNull public abstract String getMappedByAttribute()
-
getOrderBy
@Nullable @CheckForNull public abstract com.google.common.collect.ImmutableList<Order> getOrderBy()
-
getExpression
@Nullable @CheckForNull public abstract String getExpression()
-
getNullable
@Nullable @CheckForNull public abstract Boolean getNullable()
-
getAuto
@Nullable @CheckForNull public abstract Boolean getAuto()
-
getVisible
@Nullable @CheckForNull public abstract Boolean getVisible()
-
getLabel
@Nullable @CheckForNull public abstract I18nValue getLabel()
-
getDescription
@Nullable @CheckForNull public abstract I18nValue getDescription()
-
getAggregatable
@Nullable @CheckForNull public abstract Boolean getAggregatable()
-
getRange
@Nullable @CheckForNull public abstract Range getRange()
-
getReadonly
@Nullable @CheckForNull public abstract Boolean getReadonly()
-
getUnique
@Nullable @CheckForNull public abstract Boolean getUnique()
-
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()
-
getSequenceNr
@Nullable @CheckForNull public abstract Integer getSequenceNr()
-
getIdAttribute
@Nullable @CheckForNull public abstract Boolean getIdAttribute()
-
getLabelAttribute
@Nullable @CheckForNull public abstract Boolean getLabelAttribute()
-
getLookupAttributeIndex
@Nullable @CheckForNull @Min(0L) public abstract @Min(0L) Integer getLookupAttributeIndex()
-
builder
public static CreateAttributeRequest.Builder builder()
-
-