Class RemoteAttributeMetadata
- java.lang.Object
-
- org.neotropic.kuwaiba.northbound.ws.model.metadata.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
-
-
Constructor Summary
Constructors Constructor Description RemoteAttributeMetadata()
RemoteAttributeMetadata(long id, String name, String displayName, String type, Boolean administrative, Boolean visible, Boolean readOnly, Boolean unique, Boolean mandatory, Boolean multiple, String description, Boolean noCopy, Integer order)
RemoteAttributeMetadata(String name, String displayName, String type, Boolean administrative, Boolean visible, Boolean readOnly, Boolean unique, Boolean mandatory, Boolean multiple, String description, Boolean noCopy, Integer order)
RemoteAttributeMetadata(String name, String displayName, String type, Boolean administrative, Boolean visible, Boolean unique, Boolean mandatory, Boolean multiple, String description, Integer order, Boolean noCopy)
-
Method Summary
-
-
-
Constructor Detail
-
RemoteAttributeMetadata
public RemoteAttributeMetadata()
-
RemoteAttributeMetadata
public RemoteAttributeMetadata(String name, String displayName, String type, Boolean administrative, Boolean visible, Boolean unique, Boolean mandatory, Boolean multiple, String description, Integer order, Boolean noCopy)
-
RemoteAttributeMetadata
public RemoteAttributeMetadata(long id, String name, String displayName, String type, Boolean administrative, Boolean visible, Boolean readOnly, Boolean unique, Boolean mandatory, Boolean multiple, String description, Boolean noCopy, Integer order)
-
-
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
-
-