Class RemoteAttributeMetadata

  • All Implemented Interfaces:
    Serializable

    public class RemoteAttributeMetadata
    extends Object
    implements Serializable
    This is a wrapper class for AttributeMetadata, containing the info required for the clients to render the object attributes in the right way
    Author:
    Adrian Martinez Molina <adrian.martinez@kuwaiba.org>
    See Also:
    Serialized Form
    • Method Detail

      • isAdministrative

        public Boolean isAdministrative()
      • setAdministrative

        public void setAdministrative​(Boolean administrative)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getDisplayName

        public String getDisplayName()
      • setDisplayName

        public void setDisplayName​(String displayName)
      • getId

        public long getId()
      • setId

        public void setId​(long id)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getType

        public String getType()
      • setType

        public void setType​(String type)
      • isVisible

        public Boolean isVisible()
      • setVisible

        public void setVisible​(Boolean visible)
      • isReadOnly

        public Boolean isReadOnly()
      • setReadOnly

        public void setReadOnly​(Boolean readOnly)
      • isUnique

        public Boolean isUnique()
      • setUnique

        public void setUnique​(Boolean unique)
      • isMandatory

        public Boolean isMandatory()
      • setMandatory

        public void setMandatory​(Boolean mandatory)
      • isMultiple

        public Boolean isMultiple()
      • setMultiple

        public void setMultiple​(Boolean multiple)
      • isNoCopy

        public Boolean isNoCopy()
      • setNoCopy

        public void setNoCopy​(Boolean noCopy)
      • isLocked

        public Boolean isLocked()
      • setLocked

        public void setLocked​(Boolean locked)
      • getOrder

        public Integer getOrder()
      • setOrder

        public void setOrder​(Integer order)
      • toRemoteAttributeList

        public static List<RemoteAttributeMetadata> toRemoteAttributeList​(List<AttributeMetadata> toBeWrapped)
        Converts a list of AttributeMetadata instances (as in the Persistence Service layer) to a list of RemoteAttributeMetadata instances
        Parameters:
        toBeWrapped - The list of original AttributeMetadata instances
        Returns:
        The list of converted RemoteAttributeMetadata instances