|
|||||||||
| 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.PRDSecondOrderList
ist.palcom.resource.descriptor.PRDAssemblyList
public class PRDAssemblyList
| Field Summary | |
|---|---|
protected boolean |
getAssemblyLabel_visited
|
static String |
VERSION_DELIM
|
| Fields inherited from class ist.palcom.resource.descriptor.PRDData |
|---|
_node |
| 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 |
| 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 | |
|---|---|
PRDAssemblyList()
|
|
PRDAssemblyList(List p0,
String p1,
String p2,
String p3)
|
|
PRDAssemblyList(PRDAssembly initialVer)
|
|
PRDAssemblyList(String format)
|
|
| Method Summary | |
|---|---|
void |
addChildFromXMLElement(XMLRepresentable child)
The implementation up here is empty. |
void |
addPRDAssembly(PRDAssembly node)
|
void |
addPRDSecondOrder(PRDSecondOrder node)
|
boolean |
addVersion(PRDAssembly ai)
Add a version to the PRDAssemblyList, if it matches previously set name/version or name is unset. |
Object |
clone()
|
ASTNode |
copy()
|
List |
diffAdded(PRDAssemblyList 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()
|
String |
getAssemblyLabel()
|
String |
getBaseVersion()
|
Object[] |
getChildArray()
Helper method for the TreeView |
String |
getCreatingURN()
|
String |
getFormat()
|
String |
getInitialTimestamp()
|
String |
getLogicalVersion()
|
String |
getName()
|
int |
getNumPRDAssembly()
|
int |
getNumPRDSecondOrder()
|
String |
getParentTimestamp()
|
String |
getParentURN()
|
String |
getParentVersion()
|
PRDAssembly |
getPRDAssembly(int i)
|
List |
getPRDAssemblyList()
|
PRDSecondOrder |
getPRDSecondOrder(int i)
|
List |
getPRDSecondOrderList()
|
List |
getPRDSecondOrderListNoTransform()
|
String |
getTagName()
|
String |
getUpdatingTimestamp()
|
String |
getUpdatingURN()
|
String |
getVersion()
|
boolean |
hasPRDAssembly(PRDAssembly ai)
Deprecated. |
void |
initializeFromElement(XmlPullParser parser)
Initialize the XMLRepresentable from the element where the parser is currently standing. |
boolean |
isAboutTheSameEntityAs(PRDData info)
|
boolean |
isNewVersion(PRDAssembly ai)
|
boolean |
isRelatedTo(PRDAssembly ai)
Checks if ai and this are versions of the same entity, i.e., they share a common ancestor. |
boolean |
isRelatedTo(PRDAssemblyList ad)
Checks if ad and this are versions of the same entity, i.e., they share a common ancestor. |
boolean |
isUpdate(PRDAssembly ai)
|
void |
mergeAddedVersionsFrom(PRDAssemblyList 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 |
setFormat(String value)
|
void |
setName(String value)
|
void |
setPRDAssembly(PRDAssembly node,
int i)
|
void |
setPRDSecondOrder(PRDSecondOrder node,
int i)
|
void |
setPRDSecondOrderList(List list)
|
void |
setVersion(String value)
|
protected static String |
tsStr()
|
boolean |
updateIfNewer(PRDAssembly ai)
|
void |
writeAttributes(KXmlSerializer serializer)
|
void |
writeXMLElement(KXmlSerializer serializer)
|
| Methods inherited from class ist.palcom.resource.descriptor.PRDSecondOrderList |
|---|
Define_PRDSecondOrderList_list |
| Methods inherited from class ist.palcom.resource.descriptor.PRDData |
|---|
addNodeChild, getChildIterator, getDeviceURN, getFuncFunc, getNodeName, getNodeParent, getPath, getPRDDataThatEquals, getPRDDataThatIsAboutTheSameEntityAs, getSiblingFunc, getURN, getValueFunc, hasChildNamed, isAncestorOf, removeNodeChild, safeEqual, setChild, setNodeName, setNodeParent, toXML, toXMLFull, toXMLFullRecursively, toXMLRecursively, updatePath, urnToServiceURN |
| Methods inherited from class ist.palcom.resource.descriptor.AbstractXMLRepresentable |
|---|
addToAssembly, equals, getBrowserLabel, getXMLData, getXMLData, removeFromAssembly, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, println |
| Field Detail |
|---|
public static final String VERSION_DELIM
protected boolean getAssemblyLabel_visited
| Constructor Detail |
|---|
public PRDAssemblyList(PRDAssembly initialVer)
public PRDAssemblyList(String format)
public PRDAssemblyList()
public PRDAssemblyList(List p0,
String p1,
String p2,
String p3)
| Method Detail |
|---|
public void flushCache()
flushCache in class PRDSecondOrderList
public Object clone()
throws CloneNotSupportedException
clone in class PRDSecondOrderListCloneNotSupportedExceptionpublic ASTNode copy()
copy in class ASTNodepublic ASTNode fullCopy()
fullCopy in class ASTNodepublic boolean isAboutTheSameEntityAs(PRDData info)
isAboutTheSameEntityAs in class PRDDatapublic Object[] getChildArray()
ASTNode
getChildArray in class ASTNodepublic String getCreatingURN()
public String getInitialTimestamp()
public String getLogicalVersion()
public String getParentURN()
public String getParentTimestamp()
public String getUpdatingURN()
public String getUpdatingTimestamp()
protected static String tsStr()
public String getBaseVersion()
public String getParentVersion()
public boolean isRelatedTo(PRDAssembly ai)
public boolean isRelatedTo(PRDAssemblyList ad)
public boolean addVersion(PRDAssembly ai)
public boolean isNewVersion(PRDAssembly ai)
public boolean isUpdate(PRDAssembly ai)
public boolean updateIfNewer(PRDAssembly ai)
public boolean hasPRDAssembly(PRDAssembly ai)
public List diffAdded(PRDAssemblyList ad)
public void mergeAddedVersionsFrom(PRDAssemblyList ad)
public void writeAttributes(KXmlSerializer serializer)
throws IOException
IOExceptionpublic String getTagName()
getTagName in interface XMLRepresentablegetTagName in class AbstractXMLRepresentablepublic void initializeFromElement(XmlPullParser parser)
XMLRepresentable
initializeFromElement in interface XMLRepresentablepublic void addChildFromXMLElement(XMLRepresentable child)
AbstractXMLRepresentable
addChildFromXMLElement in interface XMLRepresentableaddChildFromXMLElement in class AbstractXMLRepresentable
public void writeXMLElement(KXmlSerializer serializer)
throws IOException
writeXMLElement in interface XMLRepresentableIOExceptionpublic int getNumPRDAssembly()
public List getPRDAssemblyList()
public PRDAssembly getPRDAssembly(int i)
public void addPRDAssembly(PRDAssembly node)
public void setPRDAssembly(PRDAssembly node,
int i)
protected int numChildren()
numChildren in class PRDSecondOrderListpublic void setPRDSecondOrderList(List list)
setPRDSecondOrderList in class PRDSecondOrderListpublic int getNumPRDSecondOrder()
getNumPRDSecondOrder in class PRDSecondOrderListpublic PRDSecondOrder getPRDSecondOrder(int i)
getPRDSecondOrder in class PRDSecondOrderListpublic void addPRDSecondOrder(PRDSecondOrder node)
addPRDSecondOrder in class PRDSecondOrderList
public void setPRDSecondOrder(PRDSecondOrder node,
int i)
setPRDSecondOrder in class PRDSecondOrderListpublic List getPRDSecondOrderList()
getPRDSecondOrderList in class PRDSecondOrderListpublic List getPRDSecondOrderListNoTransform()
getPRDSecondOrderListNoTransform in class PRDSecondOrderListpublic void setFormat(String value)
public String getFormat()
public void setName(String value)
public String getName()
getName in class PRDDatapublic void setVersion(String value)
public String getVersion()
public String getAssemblyLabel()
getAssemblyLabel in class ASTNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||