com.sap.netweaver.bc.uwl.config

Class Attribute

java.lang.Object
  extended bycom.sap.netweaver.bc.uwl.config.Attribute
All Implemented Interfaces:
Cloneable, Serializable
Direct Known Subclasses:
DisplayAttribute

public class Attribute
extends Object
implements Cloneable, Serializable

Attribute contains meta data regarding one custom attribute or one display attribute for view. This meta data includes name, its type and display names. These display names are locale specific. Many Attribute objects can be held in an AttributeCollection.

See Also:
CustomAttributes, AttributeCollection, DisplayAttribute, Serialized Form

Field Summary
protected  Descriptions descriptions
           
 
Constructor Summary
Attribute(String name, String typ, String dName)
           
 
Method Summary
 Object clone()
           
 Descriptions getDescriptions()
           
 Descriptions getDisplayName()
           
 String getLongText(Locale locale)
           
 String getName()
           
 String getShortText(Locale locale)
           
 String getType()
          For the values of the type, refer to DTD documentation or constants from DTDConstants javadoc.
 void setDescriptions(Descriptions descriptions)
           
 void setName(String string)
           
 void setType(String string)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

descriptions

protected Descriptions descriptions
Constructor Detail

Attribute

public Attribute(String name,
                 String typ,
                 String dName)
Method Detail

getName

public String getName()

getType

public String getType()
For the values of the type, refer to DTD documentation or constants from DTDConstants javadoc. Typically one of "double","int","string" etc..

Returns:
non null value

getShortText

public String getShortText(Locale locale)

getLongText

public String getLongText(Locale locale)

getDescriptions

public Descriptions getDescriptions()

getDisplayName

public Descriptions getDisplayName()

clone

public Object clone()
             throws CloneNotSupportedException
Throws:
CloneNotSupportedException

setDescriptions

public void setDescriptions(Descriptions descriptions)
Parameters:
descriptions -

setName

public void setName(String string)
Parameters:
string -

setType

public void setType(String string)
Parameters:
string -


Copyright 2006 SAP AG Complete Copyright Notice