Class AttributeResponse
- java.lang.Object
-
- org.molgenis.ontology.sorta.controller.AttributeResponse
-
public class AttributeResponse extends Object
-
-
Constructor Summary
Constructors Constructor Description AttributeResponse(String entityParentName, org.molgenis.data.meta.model.EntityType entityType, org.molgenis.data.meta.model.Attribute attr, Set<String> attributesSet, Map<String,Set<String>> attributeExpandsSet, org.molgenis.security.core.UserPermissionEvaluator permissionService, org.molgenis.data.DataService dataService)AttributeResponse(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 List<?>getAttributes()ObjectgetDefaultValue()StringgetDescription()List<String>getEnumOptions()StringgetExpression()org.molgenis.data.meta.AttributeTypegetFieldType()StringgetHref()StringgetLabel()BooleangetLookupAttribute()StringgetMappedBy()LonggetMaxLength()StringgetName()StringgetNullableExpression()org.molgenis.data.RangegetRange()ObjectgetRefEntity()StringgetValidationExpression()StringgetVisibleExpression()BooleanisAggregatable()booleanisAuto()booleanisLabelAttribute()booleanisNillable()booleanisReadOnly()booleanisUnique()booleanisVisible()
-
-
-
Constructor Detail
-
AttributeResponse
public AttributeResponse(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(String entityParentName, org.molgenis.data.meta.model.EntityType entityType, org.molgenis.data.meta.model.Attribute attr, Set<String> attributesSet, Map<String,Set<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 String getHref()
-
getFieldType
public org.molgenis.data.meta.AttributeType getFieldType()
-
getName
public String getName()
-
getLabel
public String getLabel()
-
getDescription
public String getDescription()
-
getAttributes
public List<?> getAttributes()
-
getMaxLength
public Long getMaxLength()
-
getRefEntity
public Object getRefEntity()
-
getMappedBy
public String getMappedBy()
-
isAuto
public boolean isAuto()
-
isNillable
public boolean isNillable()
-
isReadOnly
public boolean isReadOnly()
-
getDefaultValue
public Object getDefaultValue()
-
isLabelAttribute
public boolean isLabelAttribute()
-
isUnique
public boolean isUnique()
-
isVisible
public boolean isVisible()
-
getLookupAttribute
public Boolean getLookupAttribute()
-
isAggregatable
public Boolean isAggregatable()
-
getRange
public org.molgenis.data.Range getRange()
-
getExpression
public String getExpression()
-
getNullableExpression
public String getNullableExpression()
-
getVisibleExpression
public String getVisibleExpression()
-
getValidationExpression
public String getValidationExpression()
-
-