Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.aendvari.cerberus.component.descriptor
Class ComponentProperty  view ComponentProperty download ComponentProperty.java

java.lang.Object
  extended bycom.aendvari.cerberus.component.descriptor.ComponentProperty
Direct Known Subclasses:
ComponentAttribute, ComponentMessage, SignatureProperty

public class ComponentProperty
extends java.lang.Object

Describes a property of a component. All properties are named and have an optional description.


Nested Class Summary
static interface ComponentProperty.Access
          Constants for the access control of the property.
 
Field Summary
protected  int access
          The accessibility of the property.
protected  java.lang.String description
          The description of the property.
protected  java.lang.String name
          The name of the property.
 
Constructor Summary
ComponentProperty()
          Constructs a ComponentProperty instance.
ComponentProperty(ComponentProperty property)
          Constructs a ComponentProperty instance as a copy of the one supplied.
 
Method Summary
 int getAccess()
          Returns the access control of this property.
 java.lang.String getDescription()
          Returns the description of this property.
 java.lang.String getName()
          Returns the name of this property.
 void setAccess(int setAccess)
          Sets the access control of this property.
 void setDescription(java.lang.String setDescription)
          Sets the description of this property.
 void setName(java.lang.String setName)
          Sets the name of this property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
The name of the property.


description

protected java.lang.String description
The description of the property. The description is for documentation purposes and is optional.


access

protected int access
The accessibility of the property. Either public or private.

Constructor Detail

ComponentProperty

public ComponentProperty()
Constructs a ComponentProperty instance.


ComponentProperty

public ComponentProperty(ComponentProperty property)
Constructs a ComponentProperty instance as a copy of the one supplied.

Method Detail

setName

public void setName(java.lang.String setName)
Sets the name of this property.


getName

public java.lang.String getName()
Returns the name of this property.


setDescription

public void setDescription(java.lang.String setDescription)
Sets the description of this property.


getDescription

public java.lang.String getDescription()
Returns the description of this property.


setAccess

public void setAccess(int setAccess)
Sets the access control of this property.


getAccess

public int getAccess()
Returns the access control of this property.