Class AttributeResponse
- java.lang.Object
-
- org.molgenis.ontology.sorta.controller.AttributeResponse
-
public class AttributeResponse extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AttributeResponse(java.lang.String entityParentName, org.molgenis.data.meta.model.EntityType entityType, org.molgenis.data.meta.model.Attribute attr, java.util.Set<java.lang.String> attributesSet, java.util.Map<java.lang.String,java.util.Set<java.lang.String>> attributeExpandsSet, org.molgenis.security.core.UserPermissionEvaluator permissionService, org.molgenis.data.DataService dataService)AttributeResponse(java.lang.String entityParentName, org.molgenis.data.meta.model.EntityType entityType, org.molgenis.data.meta.model.Attribute attr, org.molgenis.security.core.UserPermissionEvaluator permissionService, org.molgenis.data.DataService dataService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<?>getAttributes()java.lang.ObjectgetDefaultValue()java.lang.StringgetDescription()java.util.List<java.lang.String>getEnumOptions()java.lang.StringgetExpression()org.molgenis.data.meta.AttributeTypegetFieldType()java.lang.StringgetHref()java.lang.StringgetLabel()java.lang.BooleangetLookupAttribute()java.lang.StringgetMappedBy()java.lang.LonggetMaxLength()java.lang.StringgetName()java.lang.StringgetNullableExpression()org.molgenis.data.RangegetRange()java.lang.ObjectgetRefEntity()java.lang.StringgetValidationExpression()java.lang.StringgetVisibleExpression()java.lang.BooleanisAggregatable()booleanisAuto()booleanisLabelAttribute()booleanisNillable()booleanisReadOnly()booleanisUnique()booleanisVisible()
-
-
-
Constructor Detail
-
AttributeResponse
public AttributeResponse(java.lang.String entityParentName, org.molgenis.data.meta.model.EntityType entityType, org.molgenis.data.meta.model.Attribute attr, org.molgenis.security.core.UserPermissionEvaluator permissionService, org.molgenis.data.DataService dataService)
-
AttributeResponse
public AttributeResponse(java.lang.String entityParentName, org.molgenis.data.meta.model.EntityType entityType, org.molgenis.data.meta.model.Attribute attr, java.util.Set<java.lang.String> attributesSet, java.util.Map<java.lang.String,java.util.Set<java.lang.String>> attributeExpandsSet, org.molgenis.security.core.UserPermissionEvaluator permissionService, org.molgenis.data.DataService dataService)- Parameters:
attributesSet- set of lowercase attribute names to include in responseattributeExpandsSet- set of lowercase attribute names to expand in response
-
-
Method Detail
-
getHref
public java.lang.String getHref()
-
getFieldType
public org.molgenis.data.meta.AttributeType getFieldType()
-
getName
public java.lang.String getName()
-
getLabel
public java.lang.String getLabel()
-
getDescription
public java.lang.String getDescription()
-
getAttributes
public java.util.List<?> getAttributes()
-
getEnumOptions
public java.util.List<java.lang.String> getEnumOptions()
-
getMaxLength
public java.lang.Long getMaxLength()
-
getRefEntity
public java.lang.Object getRefEntity()
-
getMappedBy
public java.lang.String getMappedBy()
-
isAuto
public boolean isAuto()
-
isNillable
public boolean isNillable()
-
isReadOnly
public boolean isReadOnly()
-
getDefaultValue
public java.lang.Object getDefaultValue()
-
isLabelAttribute
public boolean isLabelAttribute()
-
isUnique
public boolean isUnique()
-
isVisible
public boolean isVisible()
-
getLookupAttribute
public java.lang.Boolean getLookupAttribute()
-
isAggregatable
public java.lang.Boolean isAggregatable()
-
getRange
public org.molgenis.data.Range getRange()
-
getExpression
public java.lang.String getExpression()
-
getNullableExpression
public java.lang.String getNullableExpression()
-
getVisibleExpression
public java.lang.String getVisibleExpression()
-
getValidationExpression
public java.lang.String getValidationExpression()
-
-