|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for accessing objects of the
JavaSourceFile xsi:type in the
javasourcecode namespace.
| Field Summary | |
static XArchTypeMetadata |
TYPE_METADATA
|
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Method Summary | |
void |
addRepositoryLocation(IRepositoryLocation newRepositoryLocation)
Add a repositoryLocation to this JavaSourceFile. |
void |
addRepositoryLocations(Collection repositoryLocations)
Add a collection of repositoryLocations to this JavaSourceFile. |
void |
clearFileName()
Remove the fileName attribute from this JavaSourceFile. |
void |
clearPath()
Remove the path attribute from this JavaSourceFile. |
void |
clearRepositoryLocations()
Remove all repositoryLocations from this JavaSourceFile. |
Collection |
getAllRepositoryLocations()
Get all the repositoryLocations from this JavaSourceFile. |
String |
getFileName()
Get the fileName attribute from this JavaSourceFile. |
String |
getPath()
Get the path attribute from this JavaSourceFile. |
boolean |
hasAllRepositoryLocations(Collection repositoryLocationsToCheck)
Determine if this JavaSourceFile contains each element in the given set of repositoryLocations. |
boolean |
hasFileName(String fileName)
Determine if the fileName attribute on this JavaSourceFile has the given value. |
boolean |
hasPath(String path)
Determine if the path attribute on this JavaSourceFile has the given value. |
boolean |
hasRepositoryLocation(IRepositoryLocation repositoryLocationToCheck)
Determine if this JavaSourceFile contains a given repositoryLocation. |
Collection |
hasRepositoryLocations(Collection repositoryLocationsToCheck)
Determine if this JavaSourceFile contains the given set of repositoryLocations. |
boolean |
isEquivalent(IJavaSourceFile JavaSourceFileToCheck)
Determine if another JavaSourceFile is equivalent to this one, ignoring ID's. |
void |
removeRepositoryLocation(IRepositoryLocation repositoryLocationToRemove)
Remove the given repositoryLocation from this JavaSourceFile. |
void |
removeRepositoryLocations(Collection repositoryLocations)
Remove all the given repositoryLocations from this JavaSourceFile. |
void |
setFileName(String fileName)
Set the fileName attribute on this JavaSourceFile. |
void |
setPath(String path)
Set the path attribute on this JavaSourceFile. |
| Methods inherited from interface edu.uci.isr.xarch.IXArchElement |
cloneElement, getInstanceMetadata, getTypeMetadata, getXArch, setXArch |
| Field Detail |
public static final XArchTypeMetadata TYPE_METADATA
| Method Detail |
public void setFileName(String fileName)
fileName - fileName
FixedValueException - if the attribute has a fixed value
and the value passed is not the fixed value.public void clearFileName()
public String getFileName()
public boolean hasFileName(String fileName)
fileName - Attribute value to compare
true if they match; false
otherwise.public void setPath(String path)
path - path
FixedValueException - if the attribute has a fixed value
and the value passed is not the fixed value.public void clearPath()
public String getPath()
public boolean hasPath(String path)
path - Attribute value to compare
true if they match; false
otherwise.public void addRepositoryLocation(IRepositoryLocation newRepositoryLocation)
newRepositoryLocation - repositoryLocation to add.public void addRepositoryLocations(Collection repositoryLocations)
repositoryLocations - repositoryLocations to add.public void clearRepositoryLocations()
public void removeRepositoryLocation(IRepositoryLocation repositoryLocationToRemove)
isEquivalent(...) function.
repositoryLocationToRemove - repositoryLocation to remove.public void removeRepositoryLocations(Collection repositoryLocations)
isEquivalent(...) function.
repositoryLocations - repositoryLocation to remove.public Collection getAllRepositoryLocations()
public boolean hasRepositoryLocation(IRepositoryLocation repositoryLocationToCheck)
true if this JavaSourceFile contains the given
repositoryLocationToCheck, false otherwise.public Collection hasRepositoryLocations(Collection repositoryLocationsToCheck)
repositoryLocationsToCheck - repositoryLocations to check for.
java.lang.Boolean. If the ith
element in repositoryLocations was found, then the ith
element of the collection will be set to true, otherwise it
will be set to false. Matching is done with the
isEquivalent(...) method.public boolean hasAllRepositoryLocations(Collection repositoryLocationsToCheck)
repositoryLocationsToCheck - repositoryLocations to check for.
true if every element in
repositoryLocations is found in this JavaSourceFile,
false otherwise.public boolean isEquivalent(IJavaSourceFile JavaSourceFileToCheck)
JavaSourceFileToCheck - JavaSourceFile to compare to this one.
true if all the child elements of this
JavaSourceFile 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 | |||||||||