|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectist.palcom.resource.descriptor.ASTNode
ist.palcom.resource.descriptor.AbstractXMLRepresentable
ist.palcom.resource.descriptor.Info
ist.palcom.resource.descriptor.InfoRoot
ist.palcom.resource.descriptor.AssemblyDescriptor
public class AssemblyDescriptor
| Field Summary | |
|---|---|
protected boolean |
getAssemblyLabel_visited
|
| Fields inherited from class ist.palcom.resource.descriptor.InfoRoot |
|---|
VERSION_DELIM |
| Fields inherited from class ist.palcom.resource.descriptor.AbstractXMLRepresentable |
|---|
getBrowserLabel_visited |
| Fields inherited from class ist.palcom.resource.descriptor.ASTNode |
|---|
CHANGE, children, encloseInBraces_visited, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, getErrorList_visited, getIndent_visited, getParentPRDAssembly_visited, getPrettyClosingString_visited, getPrettyString_visited, IN_CIRCLE, LAST_CYCLE, numChildren, parent, prettyPrintChildren_visited, RESET_CYCLE |
| Constructor Summary | |
|---|---|
AssemblyDescriptor()
|
|
AssemblyDescriptor(AssemblyInfo initialVer)
|
|
AssemblyDescriptor(java.lang.String format)
|
|
AssemblyDescriptor(java.lang.String p0,
java.lang.String p1,
java.lang.String p2,
List p3)
|
|
| Method Summary | |
|---|---|
void |
addAssemblyInfo(AssemblyInfo node)
|
void |
addChildFromXMLElement(XMLRepresentable child)
The implementation up here is empty. |
boolean |
addVersion(AssemblyInfo ai)
Add a version to the AssemblyDescriptor, if it matches previously set name/version or name is unset. |
java.lang.Object |
clone()
|
ASTNode |
copy()
|
AssemblyDescriptor |
Define_AssemblyDescriptor_ad(ASTNode caller,
ASTNode child)
|
java.util.List |
diffAdded(AssemblyDescriptor ad)
Return the set of versions present in ad but not in this I.e, ad - this If ad and this do not share the same base version, the result is the empty set. |
void |
flushCache()
|
ASTNode |
fullCopy()
|
AssemblyInfo |
getAssemblyInfo(int i)
|
List |
getAssemblyInfoList()
|
List |
getAssemblyInfoListNoTransform()
|
java.lang.String |
getAssemblyLabel()
|
java.lang.Object[] |
getChildArray()
Helper method for the TreeView |
java.lang.String |
getFormat()
|
java.lang.String |
getName()
|
int |
getNumAssemblyInfo()
|
java.lang.String |
getTagName()
|
java.lang.String |
getVersion()
|
boolean |
hasAssemblyInfo(AssemblyInfo ai)
Deprecated. |
void |
initializeFromElement(XmlPullParser parser)
Initialize the XMLRepresentable from the element where the parser is currently standing. |
boolean |
isAboutTheSameEntityAs(Info info)
|
boolean |
isNewVersion(AssemblyInfo ai)
|
boolean |
isRelatedTo(AssemblyDescriptor ad)
Checks if ad and this are versions of the same entity, i.e., they share a common ancestor. |
boolean |
isRelatedTo(AssemblyInfo ai)
Checks if ai and this are versions of the same entity, i.e., they share a common ancestor. |
boolean |
isUpdate(AssemblyInfo ai)
|
void |
mergeAddedVersionsFrom(AssemblyDescriptor ad)
Add each version present in ad not present in this to this I.e., after the operation, this will contain the union of the versions in ad and this. |
protected int |
numChildren()
|
void |
setAssemblyInfo(AssemblyInfo node,
int i)
|
void |
setAssemblyInfoList(List list)
|
void |
setFormat(java.lang.String value)
|
void |
setName(java.lang.String value)
|
void |
setVersion(java.lang.String value)
|
boolean |
updateIfNewer(AssemblyInfo ai)
|
void |
writeXMLElement(KXmlSerializer serializer)
|
| Methods inherited from class ist.palcom.resource.descriptor.InfoRoot |
|---|
getBaseVersion, getCreatingURN, getInitialTimestamp, getLogicalVersion, getParentTimestamp, getParentURN, getParentVersion, getUpdatingTimestamp, getUpdatingURN, tsStr, writeAttributes |
| Methods inherited from class ist.palcom.resource.descriptor.Info |
|---|
getDeviceURN, getInfoThatEquals, getInfoThatIsAboutTheSameEntityAs, getURN, safeEqual, urnToServiceURN |
| Methods inherited from class ist.palcom.resource.descriptor.AbstractXMLRepresentable |
|---|
addToAssembly, equals, getBrowserLabel, getXMLData, getXMLData, removeFromAssembly, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected boolean getAssemblyLabel_visited
| Constructor Detail |
|---|
public AssemblyDescriptor(AssemblyInfo initialVer)
public AssemblyDescriptor(java.lang.String format)
public AssemblyDescriptor()
public AssemblyDescriptor(java.lang.String p0,
java.lang.String p1,
java.lang.String p2,
List p3)
| Method Detail |
|---|
public void flushCache()
flushCache in class InfoRoot
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class InfoRootjava.lang.CloneNotSupportedExceptionpublic ASTNode copy()
copy in class ASTNodepublic ASTNode fullCopy()
fullCopy in class ASTNodepublic boolean isAboutTheSameEntityAs(Info info)
isAboutTheSameEntityAs in class Infopublic java.lang.Object[] getChildArray()
ASTNode
getChildArray in class ASTNodepublic boolean isRelatedTo(AssemblyInfo ai)
public boolean isRelatedTo(AssemblyDescriptor ad)
public boolean addVersion(AssemblyInfo ai)
public boolean isNewVersion(AssemblyInfo ai)
public boolean isUpdate(AssemblyInfo ai)
public boolean updateIfNewer(AssemblyInfo ai)
public boolean hasAssemblyInfo(AssemblyInfo ai)
public java.util.List diffAdded(AssemblyDescriptor ad)
public void mergeAddedVersionsFrom(AssemblyDescriptor ad)
public java.lang.String getTagName()
getTagName in interface XMLRepresentablegetTagName in class AbstractXMLRepresentablepublic void initializeFromElement(XmlPullParser parser)
XMLRepresentable
initializeFromElement in interface XMLRepresentableinitializeFromElement in class InfoRootpublic void addChildFromXMLElement(XMLRepresentable child)
AbstractXMLRepresentable
addChildFromXMLElement in interface XMLRepresentableaddChildFromXMLElement in class AbstractXMLRepresentable
public void writeXMLElement(KXmlSerializer serializer)
throws java.io.IOException
writeXMLElement in interface XMLRepresentablejava.io.IOExceptionprotected int numChildren()
numChildren in class InfoRootpublic void setFormat(java.lang.String value)
setFormat in class InfoRootpublic java.lang.String getFormat()
getFormat in class InfoRootpublic void setName(java.lang.String value)
setName in class InfoRootpublic java.lang.String getName()
getName in class InfoRootpublic void setVersion(java.lang.String value)
setVersion in class InfoRootpublic java.lang.String getVersion()
getVersion in class InfoRootpublic void setAssemblyInfoList(List list)
public int getNumAssemblyInfo()
public AssemblyInfo getAssemblyInfo(int i)
public void addAssemblyInfo(AssemblyInfo node)
public void setAssemblyInfo(AssemblyInfo node,
int i)
public List getAssemblyInfoList()
public List getAssemblyInfoListNoTransform()
public java.lang.String getAssemblyLabel()
getAssemblyLabel in class ASTNode
public AssemblyDescriptor Define_AssemblyDescriptor_ad(ASTNode caller,
ASTNode child)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||