Class AttributeResponse


  • public class AttributeResponse
    extends Object
    • 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 response
        attributeExpandsSet - 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()
      • getEnumOptions

        public List<String> getEnumOptions()
      • 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()