Class AttributeResponse


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