com.sapportals.wcm.repository

Interface IPropertyDef

All Known Implementing Classes:
PropertyDef

public interface IPropertyDef

Information about the type, name and other attributes of a property.


Method Summary
 String getAttribute(String name)
          Get the value of an attribute.
 Properties getAttributes()
          Returns a collection of attributes
 PropertyType getType()
          Returns the type of the property.
 boolean isHidden()
          Returns the value of the Hidden attribute
 boolean isIndexed()
          Returns the value of the Indexed attribute
 boolean isMultivalued()
          Returns true if the property is multi-valued.
 boolean isReadonly()
          Returns the value of the Readonly attribute
 boolean isRequired()
          Returns the value of the Required attribute
 

Method Detail

isMultivalued

public boolean isMultivalued()
Returns true if the property is multi-valued.

Returns:
A boolean value

isRequired

public boolean isRequired()
Returns the value of the Required attribute

Returns:
A boolean value

getType

public PropertyType getType()
Returns the type of the property.

Returns:
type

isReadonly

public boolean isReadonly()
Returns the value of the Readonly attribute

Returns:
readonly

isIndexed

public boolean isIndexed()
Returns the value of the Indexed attribute

Returns:
indexed

isHidden

public boolean isHidden()
Returns the value of the Hidden attribute

Returns:
hidden

getAttribute

public String getAttribute(String name)
Get the value of an attribute.

Parameters:
name - Attribute name
Returns:
The value

getAttributes

public Properties getAttributes()
Returns a collection of attributes

Returns:
All attributes


Copyright 2006 SAP AG Complete Copyright Notice