wt.tools.resource
Class MetadataResourceValue

java.lang.Object
  extended bywt.tools.resource.ResourceValue
      extended bywt.tools.resource.StringResourceValue
          extended bywt.tools.resource.MetadataResourceValue
All Implemented Interfaces:
Cloneable, Serializable
Direct Known Subclasses:
EnumResourceValue

public class MetadataResourceValue
extends StringResourceValue
implements Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private  String abbreviatedDisplay
           
private static String CLASSNAME
           
private  Hashtable extraProperties
           
private  String fullDisplay
           
private  String longDescription
           
private static String RESOURCE
           
private  String shortDescription
           
 
Fields inherited from class wt.tools.resource.ResourceValue
TRANSLATION_SOURCE_NOW, TRANSLATION_SOURCE_WAS, VALUE_TAG
 
Constructor Summary
MetadataResourceValue()
           
 
Method Summary
private  void abbreviatedDisplayValidate(String a_AbbreviatedDisplay)
           
 boolean equals(Object obj)
           
private  void fullDisplayValidate(String a_FullDisplay)
           
 String getAbbreviatedDisplay()
          Gets the value of the attribute: abbreviatedDisplay.
 String getDisplay()
          Gets the value of the attribute: display.
 Hashtable getExtraProperties()
          Gets the value of the attribute: extraProperties.
 String getFullDisplay()
          Gets the value of the attribute: fullDisplay.
 String getLongDescription()
          Gets the value of the attribute: longDescription.
 String getShortDescription()
          Gets the value of the attribute: shortDescription.
protected  void load(Dictionary source, String owner)
          Load the state of this instance from the source.
private  void longDescriptionValidate(String a_LongDescription)
           
(package private) static MetadataResourceValue newMetadataResourceValue(String a_Key)
          

Supported API: false
 void setAbbreviatedDisplay(String a_AbbreviatedDisplay)
          Sets the value of the attribute: abbreviatedDisplay.
 void setDisplay(String a_Display)
          Sets the value of the attribute: display.
 void setExtraProperties(Hashtable a_ExtraProperties)
          Sets the value of the attribute: extraProperties.
 void setFullDisplay(String a_FullDisplay)
          Sets the value of the attribute: fullDisplay.
 void setLongDescription(String a_LongDescription)
          Sets the value of the attribute: longDescription.
 void setShortDescription(String a_ShortDescription)
          Sets the value of the attribute: shortDescription.
private  void shortDescriptionValidate(String a_ShortDescription)
           
 
Methods inherited from class wt.tools.resource.StringResourceValue
newStringResourceValue, setValue
 
Methods inherited from class wt.tools.resource.ResourceValue
clone, getArgComments, getCategory, getComment, getConstant, getEntry, getKey, getPrimaryValue, getTranslationSource, getValue, initialize, isCustomizable, isDeprecated, isPrimaryValue, loadTranslationSource, makeEntry, makeLocalization, newResourceValue, setArgComments, setCategory, setComment, setConstant, setCustomizable, setDeprecated, setEntry, setKey, setTranslationSource, toString, updated
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

abbreviatedDisplay

private String abbreviatedDisplay

fullDisplay

private String fullDisplay

shortDescription

private String shortDescription

longDescription

private String longDescription

extraProperties

private Hashtable extraProperties
Constructor Detail

MetadataResourceValue

public MetadataResourceValue()
Method Detail

getAbbreviatedDisplay

public String getAbbreviatedDisplay()
Gets the value of the attribute: abbreviatedDisplay.

Supported API: false

Returns:
String

setAbbreviatedDisplay

public void setAbbreviatedDisplay(String a_AbbreviatedDisplay)
                           throws WTPropertyVetoException
Sets the value of the attribute: abbreviatedDisplay.

Supported API: false

Parameters:
a_AbbreviatedDisplay -
Throws:
WTPropertyVetoException

abbreviatedDisplayValidate

private void abbreviatedDisplayValidate(String a_AbbreviatedDisplay)
                                 throws WTPropertyVetoException
Parameters:
a_AbbreviatedDisplay -
Throws:
WTPropertyVetoException

getDisplay

public String getDisplay()
Gets the value of the attribute: display.

Supported API: false

Returns:
String

setDisplay

public void setDisplay(String a_Display)
                throws WTPropertyVetoException
Sets the value of the attribute: display.

Supported API: false

Parameters:
a_Display -
Throws:
WTPropertyVetoException

getFullDisplay

public String getFullDisplay()
Gets the value of the attribute: fullDisplay.

Supported API: false

Returns:
String

setFullDisplay

public void setFullDisplay(String a_FullDisplay)
                    throws WTPropertyVetoException
Sets the value of the attribute: fullDisplay.

Supported API: false

Parameters:
a_FullDisplay -
Throws:
WTPropertyVetoException

fullDisplayValidate

private void fullDisplayValidate(String a_FullDisplay)
                          throws WTPropertyVetoException
Parameters:
a_FullDisplay -
Throws:
WTPropertyVetoException

getShortDescription

public String getShortDescription()
Gets the value of the attribute: shortDescription.

Supported API: false

Returns:
String

setShortDescription

public void setShortDescription(String a_ShortDescription)
                         throws WTPropertyVetoException
Sets the value of the attribute: shortDescription.

Supported API: false

Parameters:
a_ShortDescription -
Throws:
WTPropertyVetoException

shortDescriptionValidate

private void shortDescriptionValidate(String a_ShortDescription)
                               throws WTPropertyVetoException
Parameters:
a_ShortDescription -
Throws:
WTPropertyVetoException

getLongDescription

public String getLongDescription()
Gets the value of the attribute: longDescription.

Supported API: false

Returns:
String

setLongDescription

public void setLongDescription(String a_LongDescription)
                        throws WTPropertyVetoException
Sets the value of the attribute: longDescription.

Supported API: false

Parameters:
a_LongDescription -
Throws:
WTPropertyVetoException

longDescriptionValidate

private void longDescriptionValidate(String a_LongDescription)
                              throws WTPropertyVetoException
Parameters:
a_LongDescription -
Throws:
WTPropertyVetoException

getExtraProperties

public Hashtable getExtraProperties()
Gets the value of the attribute: extraProperties.

Supported API: false

Returns:
Hashtable

setExtraProperties

public void setExtraProperties(Hashtable a_ExtraProperties)
                        throws WTPropertyVetoException
Sets the value of the attribute: extraProperties.

Supported API: false

Parameters:
a_ExtraProperties -
Throws:
WTPropertyVetoException

newMetadataResourceValue

static MetadataResourceValue newMetadataResourceValue(String a_Key)
                                               throws WTPropertyVetoException


Supported API: false

Parameters:
a_Key -
Returns:
MetadataResourceValue
Throws:
WTPropertyVetoException

load

protected void load(Dictionary source,
                    String owner)
             throws WTPropertyVetoException
Load the state of this instance from the source.

Supported API: false

Overrides:
load in class ResourceValue
Parameters:
source -
owner -
Throws:
WTPropertyVetoException

equals

public boolean equals(Object obj)
Overrides:
equals in class ResourceValue