|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ojb.broker.metadata.AttributeDescriptorBase
org.apache.ojb.broker.metadata.FieldDescriptor
org.apache.ojb.broker.metadata.AnonymousFieldDescriptor
public final class AnonymousFieldDescriptor
| Field Summary |
|---|
| Fields inherited from class org.apache.ojb.broker.metadata.FieldDescriptor |
|---|
ACCESS_ANONYMOUS, ACCESS_READONLY, ACCESS_READWRITE |
| Constructor Summary | |
|---|---|
AnonymousFieldDescriptor(ClassDescriptor cld,
int id)
|
|
| Method Summary | |
|---|---|
void |
addAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
Store the specified attribute and it's value. |
java.lang.String |
getAttribute(java.lang.String attributeName)
Get the value of an attribute |
java.lang.String |
getAttribute(java.lang.String attributeName,
java.lang.String defaultValue)
Get the value of an attribute |
java.lang.String[] |
getAttributeNames()
Returns an array of the names of all atributes of this descriptor. |
java.util.Map |
getAttributes()
Returns the attribute map (name, value) of this descriptor. |
void |
setPersistentField(java.lang.Class c,
java.lang.String fieldName)
|
| Methods inherited from class org.apache.ojb.broker.metadata.FieldDescriptor |
|---|
clone, getAccess, getColNo, getColumnName, getColumnType, getComparator, getFieldConversion, getFullColumnName, getJdbcType, getLength, getPrecision, getScale, getSequenceName, isAccessReadOnly, isAnonymous, isAutoIncrement, isIndexed, isLengthSpecified, isLocking, isPrecisionSpecified, isPrimaryKey, isRequired, isScaleSpecified, isUpdateLock, setAccess, setAutoIncrement, setColumnName, setColumnType, setFieldConversion, setFieldConversionClassName, setIndexed, setLength, setLengthSpecified, setLocking, setPrecision, setPrecisionSpecified, setPrimaryKey, setRequired, setScale, setScaleSpecified, setSequenceName, setUpdateLock, toString, toXML |
| Methods inherited from class org.apache.ojb.broker.metadata.AttributeDescriptorBase |
|---|
getAttributeName, getClassDescriptor, getPersistentField, setClassDescriptor, setPersistentField |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AnonymousFieldDescriptor(ClassDescriptor cld,
int id)
| Method Detail |
|---|
public void setPersistentField(java.lang.Class c,
java.lang.String fieldName)
setPersistentField in class AttributeDescriptorBase
public void addAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
AttributeContainer
addAttribute in interface AttributeContainerattributeName - the name of the attribute to retrieveattributeValue - the attribute's valueAttributeContainer.addAttribute(String, String)
public java.lang.String getAttribute(java.lang.String attributeName,
java.lang.String defaultValue)
AttributeContainer
getAttribute in interface AttributeContainerattributeName - the attribute to retrievedefaultValue - the value to return if the attribute is not present
AttributeContainer.getAttribute(String, String)public java.lang.String getAttribute(java.lang.String attributeName)
AttributeContainer
getAttribute in interface AttributeContainerattributeName - the attribute to retrieve
AttributeContainer.getAttribute(String)public java.util.Map getAttributes()
public java.lang.String[] getAttributeNames()
null)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||