org.kuali.student.common.assembly.data
Class Metadata
java.lang.Object
org.kuali.student.common.assembly.data.Metadata
- All Implemented Interfaces:
- Serializable
public class Metadata
- extends Object
- implements Serializable
- See Also:
- Serialized Form
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
name
private String name
labelKey
private String labelKey
writeAccess
private Metadata.WriteAccess writeAccess
canUnmask
private boolean canUnmask
canView
private boolean canView
canEdit
private boolean canEdit
dynamic
private boolean dynamic
partialMaskFormatter
protected String partialMaskFormatter
maskFormatter
protected String maskFormatter
onChangeRefreshMetadata
private boolean onChangeRefreshMetadata
dataType
private Data.DataType dataType
defaultValue
private Data.Value defaultValue
defaultValuePath
private String defaultValuePath
constraints
private List<ConstraintMetadata> constraints
initialLookup
private LookupMetadata initialLookup
lookupContextPath
private String lookupContextPath
additionalLookups
private List<LookupMetadata> additionalLookups
childProperties
private Map<String,Metadata> childProperties
Metadata
public Metadata()
Metadata
public Metadata(Metadata toClone)
- This constructs a new Metadata instance. References to non-Metadata objects are maintained, as no permissions are applied to them.
- Parameters:
toClone
- the Metadata instance to be cloned
toString
public String toString()
- Overrides:
toString
in class Object
_toString
protected void _toString(StringBuilder sb)
getConstraints
public List<ConstraintMetadata> getConstraints()
setConstraints
public void setConstraints(List<ConstraintMetadata> constraints)
setNonServerConstraints
public void setNonServerConstraints(List<ConstraintMetadata> constraints)
- This is used to set all non-server side constraints for the metadata.
- Parameters:
constraints
-
getDataType
public Data.DataType getDataType()
setDataType
public void setDataType(Data.DataType dataType)
getDefaultValue
public Data.Value getDefaultValue()
setDefaultValue
public void setDefaultValue(Data.Value defaultValue)
getDefaultValuePath
public String getDefaultValuePath()
setDefaultValuePath
public void setDefaultValuePath(String defaultValuePath)
getInitialLookup
public LookupMetadata getInitialLookup()
setInitialLookup
public void setInitialLookup(LookupMetadata initialLookup)
getLookupContextPath
public String getLookupContextPath()
setLookupContextPath
public void setLookupContextPath(String lookupContextPath)
getAdditionalLookups
public List<LookupMetadata> getAdditionalLookups()
setAdditionalLookups
public void setAdditionalLookups(List<LookupMetadata> additionalLookups)
getProperties
public Map<String,Metadata> getProperties()
setProperties
public void setProperties(Map<String,Metadata> properties)
getWriteAccess
public Metadata.WriteAccess getWriteAccess()
setWriteAccess
public void setWriteAccess(Metadata.WriteAccess writeAccess)
isOnChangeRefreshMetadata
public boolean isOnChangeRefreshMetadata()
setOnChangeRefreshMetadata
public void setOnChangeRefreshMetadata(boolean onChangeRefereshMetadata)
isCanUnmask
public boolean isCanUnmask()
setCanUnmask
public void setCanUnmask(boolean canUnmask)
isCanView
public boolean isCanView()
setCanView
public void setCanView(boolean canView)
isCanEdit
public boolean isCanEdit()
setCanEdit
public void setCanEdit(boolean canEdit)
getName
public String getName()
setName
public void setName(String name)
isDynamic
public boolean isDynamic()
setDynamic
public void setDynamic(boolean dynamic)
getLabelKey
public String getLabelKey()
setLabelKey
public void setLabelKey(String labelKey)
getPartialMaskFormatter
public String getPartialMaskFormatter()
setPartialMaskFormatter
public void setPartialMaskFormatter(String partialMaskFormatter)
getMaskFormatter
public String getMaskFormatter()
setMaskFormatter
public void setMaskFormatter(String maskFormatter)
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.