com.sap.netweaver.bc.uwl.config
Class Attribute
java.lang.Object
com.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
descriptions
protected Descriptions descriptions
Attribute
public Attribute(String name,
String typ,
String dName)
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