org.apache.lenya.cms.metadata
Interface Element


public interface Element

A meta data element.


Field Summary
static int ONCOPY_COPY
          Copy all values if the meta data are copied.
static int ONCOPY_DELETE
          Delete all values of this element if the meta data are copied.
static int ONCOPY_IGNORE
          Don't copy the values of this element if the meta data are copied.
 
Method Summary
 int getActionOnCopy()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 boolean isEditable()
           
 boolean isMultiple()
           
 

Field Detail

ONCOPY_COPY

static final int ONCOPY_COPY
Copy all values if the meta data are copied.

See Also:
Constant Field Values

ONCOPY_IGNORE

static final int ONCOPY_IGNORE
Don't copy the values of this element if the meta data are copied.

See Also:
Constant Field Values

ONCOPY_DELETE

static final int ONCOPY_DELETE
Delete all values of this element if the meta data are copied.

See Also:
Constant Field Values
Method Detail

getName

java.lang.String getName()
Returns:
the name of the element.

isMultiple

boolean isMultiple()
Returns:
if the element can have multiple values.

getDescription

java.lang.String getDescription()
Returns:
the description of the element.

isEditable

boolean isEditable()
Returns:
if the element value can be edited.

getActionOnCopy

int getActionOnCopy()
Returns:
The action to be taken when meta data are copied from one owner to another.


Copyright © 1999-2006 Apache Software Foundation. All Rights Reserved.