Oxygen XML Editor 15.0 Author API

ro.sync.exml.workspace.api.editor.page.ditamap.keys
Class EnumerationDefInfo

java.lang.Object
  extended by ro.sync.exml.workspace.api.editor.page.ditamap.keys.EnumerationDefInfo

@API(type=EXTENDABLE,
     src=PUBLIC)
public class EnumerationDefInfo
extends java.lang.Object

An enumeration def info. <enumerationdef> <elementdef name="p"/> <attributedef name="product"/> <subjectdef keyref="test"/> </enumerationdef>


Constructor Summary
EnumerationDefInfo(java.lang.String attributeName, java.lang.String elementName)
          Constructor.
 
Method Summary
 void addReferencedKey(java.lang.String keyRef)
          Add a referenced key.
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAttributeName()
          Get the attribute name.
 java.lang.String getElementName()
          Get the element name.
 java.util.LinkedHashSet<java.lang.String> getReferencedKeys()
          Get the set of referenced keys, can be null.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnumerationDefInfo

public EnumerationDefInfo(java.lang.String attributeName,
                          java.lang.String elementName)
Constructor.

Parameters:
attributeName - The attribute name.
elementName - The element name. Can be null.
Method Detail

getAttributeName

public java.lang.String getAttributeName()
Get the attribute name.

Returns:
Returns the attribute name.

getElementName

public java.lang.String getElementName()
Get the element name.

Returns:
Returns the element name.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

getReferencedKeys

public java.util.LinkedHashSet<java.lang.String> getReferencedKeys()
Get the set of referenced keys, can be null.

Returns:
Returns the referenced key names.

addReferencedKey

public void addReferencedKey(java.lang.String keyRef)
Add a referenced key.

Parameters:
keyRef - The keyref.

Oxygen XML Editor 15.0 Author API

© Copyright SyncRO Soft SRL 2002 - 2013. All rights reserved.