org.jboss.jca.common.metadata.ra.common
Class XsdString
java.lang.Object
org.jboss.jca.common.metadata.ra.common.XsdString
- All Implemented Interfaces:
- Serializable, JCAMetadata, IdDecoratedMetadata
- Direct Known Subclasses:
- LocalizedXsdString
public class XsdString
- extends Object
- implements IdDecoratedMetadata
- Author:
- Stefano Maestri
- See Also:
- Serialized Form
value
protected final String value
- the actual String value
id
protected final String id
- XML ID
XsdString
public XsdString(String value,
String id)
- Parameters:
value - the actual String valueid - XML ID
getValue
public String getValue()
- Returns:
- value
getId
public String getId()
- Return the String representing xml ID
- Specified by:
getId in interface IdDecoratedMetadata
- Returns:
- the XML ID
- See Also:
IdDecoratedMetadata.getId()
hashCode
public int hashCode()
-
- Overrides:
hashCode in class Object
- See Also:
Object.hashCode()
equals
public boolean equals(Object obj)
-
- Overrides:
equals in class Object
- See Also:
Object.equals(java.lang.Object)
toString
public String toString()
-
- Overrides:
toString in class Object
- See Also:
Object.toString()
Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)