|
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
JavaSourceCodeImplementation xsi:type in the
javasourcecode namespace. Extends and
inherits the properties of the
Implementation xsi:type.
| 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 JavaSourceCodeImplementation. |
void |
addRepositoryLocations(Collection repositoryLocations)
Add a collection of repositoryLocations to this JavaSourceCodeImplementation. |
void |
addSourceCodeFile(IJavaSourceFile newSourceCodeFile)
Add a sourceCodeFile to this JavaSourceCodeImplementation. |
void |
addSourceCodeFiles(Collection sourceCodeFiles)
Add a collection of sourceCodeFiles to this JavaSourceCodeImplementation. |
void |
clearRepositoryLocations()
Remove all repositoryLocations from this JavaSourceCodeImplementation. |
void |
clearSourceCodeFiles()
Remove all sourceCodeFiles from this JavaSourceCodeImplementation. |
void |
clearSourceCodeManager()
Clear the sourceCodeManager from this JavaSourceCodeImplementation. |
Collection |
getAllRepositoryLocations()
Get all the repositoryLocations from this JavaSourceCodeImplementation. |
Collection |
getAllSourceCodeFiles()
Get all the sourceCodeFiles from this JavaSourceCodeImplementation. |
IJavaSourceCodeManager |
getSourceCodeManager()
Get the sourceCodeManager from this JavaSourceCodeImplementation. |
boolean |
hasAllRepositoryLocations(Collection repositoryLocationsToCheck)
Determine if this JavaSourceCodeImplementation contains each element in the given set of repositoryLocations. |
boolean |
hasAllSourceCodeFiles(Collection sourceCodeFilesToCheck)
Determine if this JavaSourceCodeImplementation contains each element in the given set of sourceCodeFiles. |
boolean |
hasRepositoryLocation(IRepositoryLocation repositoryLocationToCheck)
Determine if this JavaSourceCodeImplementation contains a given repositoryLocation. |
Collection |
hasRepositoryLocations(Collection repositoryLocationsToCheck)
Determine if this JavaSourceCodeImplementation contains the given set of repositoryLocations. |
boolean |
hasSourceCodeFile(IJavaSourceFile sourceCodeFileToCheck)
Determine if this JavaSourceCodeImplementation contains a given sourceCodeFile. |
Collection |
hasSourceCodeFiles(Collection sourceCodeFilesToCheck)
Determine if this JavaSourceCodeImplementation contains the given set of sourceCodeFiles. |
boolean |
hasSourceCodeManager(IJavaSourceCodeManager sourceCodeManagerToCheck)
Determine if this JavaSourceCodeImplementation has the given sourceCodeManager |
boolean |
isEquivalent(IJavaSourceCodeImplementation JavaSourceCodeImplementationToCheck)
Determine if another JavaSourceCodeImplementation is equivalent to this one, ignoring ID's. |
void |
removeRepositoryLocation(IRepositoryLocation repositoryLocationToRemove)
Remove the given repositoryLocation from this JavaSourceCodeImplementation. |
void |
removeRepositoryLocations(Collection repositoryLocations)
Remove all the given repositoryLocations from this JavaSourceCodeImplementation. |
void |
removeSourceCodeFile(IJavaSourceFile sourceCodeFileToRemove)
Remove the given sourceCodeFile from this JavaSourceCodeImplementation. |
void |
removeSourceCodeFiles(Collection sourceCodeFiles)
Remove all the given sourceCodeFiles from this JavaSourceCodeImplementation. |
void |
setSourceCodeManager(IJavaSourceCodeManager value)
Set the sourceCodeManager for this JavaSourceCodeImplementation. |
| Methods inherited from interface edu.uci.isr.xarch.implementation.IImplementation |
isEquivalent |
| 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 addSourceCodeFile(IJavaSourceFile newSourceCodeFile)
newSourceCodeFile - sourceCodeFile to add.public void addSourceCodeFiles(Collection sourceCodeFiles)
sourceCodeFiles - sourceCodeFiles to add.public void clearSourceCodeFiles()
public void removeSourceCodeFile(IJavaSourceFile sourceCodeFileToRemove)
isEquivalent(...) function.
sourceCodeFileToRemove - sourceCodeFile to remove.public void removeSourceCodeFiles(Collection sourceCodeFiles)
isEquivalent(...) function.
sourceCodeFiles - sourceCodeFile to remove.public Collection getAllSourceCodeFiles()
public boolean hasSourceCodeFile(IJavaSourceFile sourceCodeFileToCheck)
true if this JavaSourceCodeImplementation contains the given
sourceCodeFileToCheck, false otherwise.public Collection hasSourceCodeFiles(Collection sourceCodeFilesToCheck)
sourceCodeFilesToCheck - sourceCodeFiles to check for.
java.lang.Boolean. If the ith
element in sourceCodeFiles 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 hasAllSourceCodeFiles(Collection sourceCodeFilesToCheck)
sourceCodeFilesToCheck - sourceCodeFiles to check for.
true if every element in
sourceCodeFiles is found in this JavaSourceCodeImplementation,
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 JavaSourceCodeImplementation 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 JavaSourceCodeImplementation,
false otherwise.public void setSourceCodeManager(IJavaSourceCodeManager value)
value - new sourceCodeManagerpublic void clearSourceCodeManager()
public IJavaSourceCodeManager getSourceCodeManager()
public boolean hasSourceCodeManager(IJavaSourceCodeManager sourceCodeManagerToCheck)
sourceCodeManagerToCheck - sourceCodeManager to compare
true if the sourceCodeManagers are equivalent,
false otherwisepublic boolean isEquivalent(IJavaSourceCodeImplementation JavaSourceCodeImplementationToCheck)
JavaSourceCodeImplementationToCheck - JavaSourceCodeImplementation to compare to this one.
true if all the child elements of this
JavaSourceCodeImplementation 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 | |||||||||