|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ivy.util.extendable.UnmodifiableExtendableItem
public class UnmodifiableExtendableItem
Constructor Summary | |
---|---|
UnmodifiableExtendableItem(java.util.Map stdAttributes,
java.util.Map extraAttributes)
|
Method Summary | |
---|---|
java.lang.String |
getAttribute(java.lang.String attName)
Gets the value of an attribute Can be used to access the value of a standard attribute (like organisation, revision) or of an extra attribute. |
java.util.Map |
getAttributes()
Returns a Map of all attributes of this extendable item, including standard and extra ones. |
java.lang.String |
getExtraAttribute(java.lang.String attName)
Gets the value of an extra attribute Can be used only to access the value of an extra attribute, not a standard one (like organisation, revision) |
java.util.Map |
getExtraAttributes()
Returns a Map of all extra attributes of this extendable item. |
java.lang.String |
getStandardAttribute(java.lang.String attName)
Gets the value of a standard attribute Can be used only to access the value of a standard attribute (like organisation, revision), not an extra one |
java.util.Map |
getStandardAttributes()
Returns a Map of all standard attributes of this extendable item. |
protected void |
setAttribute(java.lang.String attName,
java.lang.String attValue,
boolean extra)
|
protected void |
setExtraAttribute(java.lang.String attName,
java.lang.String attValue)
|
protected void |
setStandardAttribute(java.lang.String attName,
java.lang.String attValue)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnmodifiableExtendableItem(java.util.Map stdAttributes, java.util.Map extraAttributes)
Method Detail |
---|
public java.lang.String getAttribute(java.lang.String attName)
ExtendableItem
getAttribute
in interface ExtendableItem
attName
- the name of the attribute to get
public java.lang.String getExtraAttribute(java.lang.String attName)
ExtendableItem
getExtraAttribute
in interface ExtendableItem
attName
- the name of the extra attribute to get
public java.lang.String getStandardAttribute(java.lang.String attName)
ExtendableItem
getStandardAttribute
in interface ExtendableItem
attName
- the name of the standard attribute to get
protected void setExtraAttribute(java.lang.String attName, java.lang.String attValue)
protected void setStandardAttribute(java.lang.String attName, java.lang.String attValue)
protected void setAttribute(java.lang.String attName, java.lang.String attValue, boolean extra)
public java.util.Map getAttributes()
ExtendableItem
getAttributes
in interface ExtendableItem
public java.util.Map getStandardAttributes()
ExtendableItem
getStandardAttributes
in interface ExtendableItem
public java.util.Map getExtraAttributes()
ExtendableItem
getExtraAttributes
in interface ExtendableItem
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |