org.kuali.student.r1.common.assembly.data
Class Metadata

java.lang.Object
  extended by org.kuali.student.r1.common.assembly.data.Metadata
All Implemented Interfaces:
Serializable

public class Metadata
extends Object
implements Serializable

See Also:
Serialized Form

Nested Class Summary
static class Metadata.WriteAccess
           
 
Field Summary
protected  String maskFormatter
           
protected  String partialMaskFormatter
           
 
Constructor Summary
Metadata()
           
Metadata(Metadata toClone)
          This constructs a new Metadata instance.
 
Method Summary
protected  void _toString(StringBuilder sb)
           
 List<LookupMetadata> getAdditionalLookups()
           
 List<ConstraintMetadata> getConstraints()
           
 Data.DataType getDataType()
           
 Data.Value getDefaultValue()
           
 String getDefaultValuePath()
           
 LookupMetadata getInitialLookup()
           
 String getLabelKey()
           
 String getLookupContextPath()
           
 String getMaskFormatter()
           
 String getName()
           
 String getPartialMaskFormatter()
           
 Map<String,Metadata> getProperties()
           
 Metadata.WriteAccess getWriteAccess()
           
 boolean isCanEdit()
           
 boolean isCanUnmask()
           
 boolean isCanView()
           
 boolean isDynamic()
           
 boolean isOnChangeRefreshMetadata()
           
 void setAdditionalLookups(List<LookupMetadata> additionalLookups)
           
 void setCanEdit(boolean canEdit)
           
 void setCanUnmask(boolean canUnmask)
           
 void setCanView(boolean canView)
           
 void setConstraints(List<ConstraintMetadata> constraints)
           
 void setDataType(Data.DataType dataType)
           
 void setDefaultValue(Data.Value defaultValue)
           
 void setDefaultValuePath(String defaultValuePath)
           
 void setDynamic(boolean dynamic)
           
 void setInitialLookup(LookupMetadata initialLookup)
           
 void setLabelKey(String labelKey)
           
 void setLookupContextPath(String lookupContextPath)
           
 void setMaskFormatter(String maskFormatter)
           
 void setName(String name)
           
 void setNonServerConstraints(List<ConstraintMetadata> constraints)
          This is used to set all non-server side constraints for the metadata.
 void setOnChangeRefreshMetadata(boolean onChangeRefereshMetadata)
           
 void setPartialMaskFormatter(String partialMaskFormatter)
           
 void setProperties(Map<String,Metadata> properties)
           
 void setWriteAccess(Metadata.WriteAccess writeAccess)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

partialMaskFormatter

protected String partialMaskFormatter

maskFormatter

protected String maskFormatter
Constructor Detail

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
Method Detail

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 © 2004-2013 The Kuali Foundation. All Rights Reserved.