|
|||||||||
| 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.PRDData
ist.palcom.resource.descriptor.PalcomResourceDescriptor
ist.palcom.resource.descriptor.PRDSecondOrder
ist.palcom.resource.descriptor.PRDAssemblyD
public class PRDAssemblyD
| Field Summary | |
|---|---|
protected boolean |
getAssemblyLabel_visited
|
| Fields inherited from class ist.palcom.resource.descriptor.PRDData |
|---|
_node, FULLY_OPERATIONAL, NOT_OPERATIONAL, PARTIALLY_OPERATIONAL |
| 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, getParentPRDAssemblyVer_visited, getPrettyClosingString_visited, getPrettyString_visited, IN_CIRCLE, LAST_CYCLE, numChildren, parent, prettyPrintChildren_visited, RESET_CYCLE |
| Fields inherited from interface ist.palcom.hgraph.IHgraphNode |
|---|
CHILD_NAME_CLASH, CIRCULARITY_CLASH, COMMAND_OR_NODE_MISSING, ERROR, HANDLER_MISSING, INVOKATOR_MISSING, LISTENER_MISSING, NODE_NOT_CHILD, PATH_MISSING, SIBLING_ALREADY_EXISTS, SIBLING_NONEXISTENT, SIBLING_REFERENCE_ALREADY_EXISTS, SIBLING_REFERENCE_NONEXISTENT, STATUS_OK, VALUE_ALREADY_EXISTS, VALUE_NOT_PRESENT |
| Constructor Summary | |
|---|---|
PRDAssemblyD()
|
|
PRDAssemblyD(PRDAssemblyVer initialVer)
|
|
PRDAssemblyD(java.lang.String format)
|
|
PRDAssemblyD(java.lang.String p0,
java.lang.String p1,
VersionPart p2,
List p3)
|
|
| Method Summary | |
|---|---|
void |
addChildFromXMLElement(XMLRepresentable child)
The implementation up here is empty. |
void |
addPRDAssemblyVer(PRDAssemblyVer node)
|
boolean |
addVersion(PRDAssemblyVer av)
Add a version to the PRDAssemblyD, if it matches previously set name/version or name is unset. |
java.lang.Object |
clone()
|
ASTNode |
copy()
|
Service |
Define_Service_parentService(ASTNode caller,
ASTNode child)
|
java.util.List |
diffAdded(PRDAssemblyD 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()
|
java.lang.String |
getAssemblyLabel()
|
VersionPart |
getBaseVersion()
|
VersionPart |
getBaseVersionNoTransform()
|
java.lang.Object[] |
getChildArray()
Helper method for the TreeView |
java.lang.String |
getFormat()
|
java.lang.String |
getName()
|
int |
getNumPRDAssemblyVer()
|
PRDAssemblyVer |
getPRDAssemblyVer(int i)
|
List |
getPRDAssemblyVerList()
|
List |
getPRDAssemblyVerListNoTransform()
|
java.lang.String |
getTagName()
|
boolean |
hasPRDAssemblyVer(PRDAssemblyVer av)
Deprecated. |
void |
initializeFromElement(XmlPullParser parser)
Initialize the XMLRepresentable from the element where the parser is currently standing. |
boolean |
isAboutTheSameEntityAs(PRDData info)
|
boolean |
isNewVersion(PRDAssemblyVer av)
|
boolean |
isRelatedTo(PRDAssemblyD ad)
Checks if ad and this are versions of the same entity, i.e., they share a common ancestor. |
boolean |
isRelatedTo(PRDAssemblyVer av)
Checks if ai and this are versions of the same entity, i.e., they share a common ancestor. |
boolean |
isUpdate(PRDAssemblyVer av)
|
void |
mergeAddedVersionsFrom(PRDAssemblyD 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 |
setBaseVersion(VersionPart node)
|
void |
setFormat(java.lang.String value)
|
void |
setName(java.lang.String value)
|
void |
setPRDAssemblyVer(PRDAssemblyVer node,
int i)
|
void |
setPRDAssemblyVerList(List list)
|
static java.lang.String |
tsStr()
|
boolean |
updateIfNewer(PRDAssemblyVer av)
|
void |
writeAttributes(KXmlSerializer serializer)
|
void |
writeXMLElement(KXmlSerializer serializer)
|
| Methods inherited from class ist.palcom.resource.descriptor.PRDData |
|---|
addNodeChild, getChildIterator, getFuncFunc, getLocalSID, getNodeName, getNodeParent, getPath, getPRDDataThatEquals, getPRDDataThatIsAboutTheSameEntityAs, getSiblingFunc, getValueFunc, hasChildNamed, isAncestorOf, removeNodeChild, safeEqual, setChild, setNodeName, setNodeParent, toXML, toXMLFull, toXMLFullRecursively, toXMLRecursively, updatePath |
| 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 PRDAssemblyD(PRDAssemblyVer initialVer)
public PRDAssemblyD(java.lang.String format)
public PRDAssemblyD()
public PRDAssemblyD(java.lang.String p0,
java.lang.String p1,
VersionPart p2,
List p3)
| Method Detail |
|---|
public void flushCache()
flushCache in class PRDSecondOrder
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class PRDSecondOrderjava.lang.CloneNotSupportedExceptionpublic ASTNode copy()
copy in class ASTNodepublic ASTNode fullCopy()
fullCopy in class ASTNodepublic boolean isAboutTheSameEntityAs(PRDData info)
isAboutTheSameEntityAs in class PRDDatapublic java.lang.Object[] getChildArray()
ASTNode
getChildArray in class ASTNodepublic static java.lang.String tsStr()
public boolean isRelatedTo(PRDAssemblyVer av)
public boolean isRelatedTo(PRDAssemblyD ad)
public boolean addVersion(PRDAssemblyVer av)
public boolean isNewVersion(PRDAssemblyVer av)
public boolean isUpdate(PRDAssemblyVer av)
public boolean updateIfNewer(PRDAssemblyVer av)
public boolean hasPRDAssemblyVer(PRDAssemblyVer av)
public java.util.List diffAdded(PRDAssemblyD ad)
public void mergeAddedVersionsFrom(PRDAssemblyD ad)
public void writeAttributes(KXmlSerializer serializer)
throws java.io.IOException
writeAttributes in class PalcomResourceDescriptorjava.io.IOExceptionpublic java.lang.String getTagName()
getTagName in interface XMLRepresentablegetTagName in class AbstractXMLRepresentablepublic void initializeFromElement(XmlPullParser parser)
XMLRepresentable
initializeFromElement in interface XMLRepresentableinitializeFromElement in class PalcomResourceDescriptorpublic 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 PRDSecondOrderpublic void setFormat(java.lang.String value)
public java.lang.String getFormat()
public void setName(java.lang.String value)
setName in class PRDSecondOrderpublic java.lang.String getName()
getName in class PRDSecondOrderpublic void setBaseVersion(VersionPart node)
public VersionPart getBaseVersion()
public VersionPart getBaseVersionNoTransform()
public void setPRDAssemblyVerList(List list)
public int getNumPRDAssemblyVer()
public PRDAssemblyVer getPRDAssemblyVer(int i)
public void addPRDAssemblyVer(PRDAssemblyVer node)
public void setPRDAssemblyVer(PRDAssemblyVer node,
int i)
public List getPRDAssemblyVerList()
public List getPRDAssemblyVerListNoTransform()
public java.lang.String getAssemblyLabel()
getAssemblyLabel in class ASTNode
public Service Define_Service_parentService(ASTNode caller,
ASTNode child)
Define_Service_parentService in class ASTNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||