|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uci.isr.xarch.javasourcecode.RepositoryLocationImpl
DOM-Based implementation of the IRepositoryLocation interface.
| Field Summary | |
protected Element |
elt
|
static String |
FILE_NAME_ATTR_NAME
Tag name for fileNames in this object. |
static String |
PATH_ATTR_NAME
Tag name for paths in this object. |
static String |
URL_ELT_NAME
Tag name for urls in this object. |
protected IXArch |
xArch
|
static String |
XSD_TYPE_NAME
|
static String |
XSD_TYPE_NSURI
|
| Fields inherited from interface edu.uci.isr.xarch.javasourcecode.IRepositoryLocation |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
RepositoryLocationImpl(Element elt)
|
|
| Method Summary | |
void |
clearFileName()
Removes the fileName attribute from this object. |
void |
clearPath()
Removes the path attribute from this object. |
void |
clearUrl()
Clear the url from this RepositoryLocation. |
IXArchElement |
cloneElement(int depth)
|
boolean |
equals(Object o)
|
Node |
getDOMNode()
Gets the DOM node on which this implementation is based. |
String |
getFileName()
Gets the value of the fileName attribute on this object. |
XArchInstanceMetadata |
getInstanceMetadata()
Gets metadata describing the instance of this element. |
String |
getPath()
Gets the value of the path attribute on this object. |
protected static SequenceOrder |
getSequenceOrder()
|
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IXMLLink |
getUrl()
Get the url from this RepositoryLocation. |
IXArch |
getXArch()
|
boolean |
hasFileName(String fileName)
Determines if this object's fileName attribute has the given value. |
int |
hashCode()
|
boolean |
hasPath(String path)
Determines if this object's path attribute has the given value. |
boolean |
hasUrl(IXMLLink value)
Determine if this RepositoryLocation has the given url |
boolean |
isEquivalent(IRepositoryLocation c)
Determine if another RepositoryLocation is equivalent to this one, ignoring ID's. |
void |
setDOMNode(Node node)
Sets the DOM node on which this implementation is based. |
void |
setFileName(String fileName)
Set the fileName attribute on this object. |
void |
setPath(String path)
Set the path attribute on this object. |
void |
setUrl(IXMLLink value)
Set the url for this RepositoryLocation. |
void |
setXArch(IXArch xArch)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String XSD_TYPE_NSURI
public static final String XSD_TYPE_NAME
protected IXArch xArch
public static final String FILE_NAME_ATTR_NAME
public static final String PATH_ATTR_NAME
public static final String URL_ELT_NAME
protected Element elt
| Constructor Detail |
public RepositoryLocationImpl(Element elt)
| Method Detail |
public Node getDOMNode()
DOMBased
getDOMNode in interface DOMBasedpublic void setDOMNode(Node node)
DOMBased
setDOMNode in interface DOMBasednode - DOM nodeprotected static SequenceOrder getSequenceOrder()
public void setXArch(IXArch xArch)
setXArch in interface IXArchElementpublic IXArch getXArch()
getXArch in interface IXArchElementpublic IXArchElement cloneElement(int depth)
cloneElement in interface IXArchElementpublic boolean equals(Object o)
public int hashCode()
public XArchTypeMetadata getTypeMetadata()
IXArchElementxsi:type of this element.
getTypeMetadata in interface IXArchElementxsi:type of this element.public XArchInstanceMetadata getInstanceMetadata()
IXArchElement
getInstanceMetadata in interface IXArchElementpublic void setFileName(String fileName)
setFileName in interface IRepositoryLocationfileName - attribute value.public void clearFileName()
clearFileName in interface IRepositoryLocationpublic String getFileName()
getFileName in interface IRepositoryLocationnull if that
attribute is not set.public boolean hasFileName(String fileName)
hasFileName in interface IRepositoryLocationfileName - value to test.
true if the values match, false otherwise.
Matching is done by string-matching.public void setPath(String path)
setPath in interface IRepositoryLocationpath - attribute value.public void clearPath()
clearPath in interface IRepositoryLocationpublic String getPath()
getPath in interface IRepositoryLocationnull if that
attribute is not set.public boolean hasPath(String path)
hasPath in interface IRepositoryLocationpath - value to test.
true if the values match, false otherwise.
Matching is done by string-matching.public void setUrl(IXMLLink value)
IRepositoryLocation
setUrl in interface IRepositoryLocationvalue - new urlpublic void clearUrl()
IRepositoryLocation
clearUrl in interface IRepositoryLocationpublic IXMLLink getUrl()
IRepositoryLocation
getUrl in interface IRepositoryLocationpublic boolean hasUrl(IXMLLink value)
IRepositoryLocation
hasUrl in interface IRepositoryLocationvalue - url to compare
true if the urls are equivalent,
false otherwisepublic boolean isEquivalent(IRepositoryLocation c)
IRepositoryLocation
isEquivalent in interface IRepositoryLocationc - RepositoryLocation to compare to this one.
true if all the child elements of this
RepositoryLocation are equivalent, false otherwise.
|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||