public abstract class ItemBase extends java.lang.Object implements Item
Constructor and Description |
---|
ItemBase() |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(ItemATTRIBUTE attrib) |
java.util.Enumeration<ItemATTRIBUTE> |
attributes() |
static java.lang.String |
base64toGUID(java.lang.String base64) |
boolean |
categoryFromAttribute(java.lang.String omniClassAttribute) |
java.util.Enumeration<ItemDOCUMENT> |
documents() |
void |
export(Exporter exporter)
Exported representation of Item
|
ItemATTRIBUTE |
getAttribute(java.lang.String name) |
int |
getAttributeCount() |
java.lang.String |
getCategory() |
java.lang.String |
getCreatedBy() |
java.lang.String |
getCreatedOn() |
java.lang.String |
getDescription() |
ItemDOCUMENT |
getDocument(java.lang.String name) |
java.lang.String |
getExternalIdentifier() |
java.lang.String |
getExternalObject() |
java.lang.String |
getExternalSystem() |
java.lang.String |
getExtIdentifier() |
java.lang.String |
getExtObject() |
java.lang.String |
getExtSystem() |
ItemFACILITY |
getFacilityReference() |
java.lang.String |
getKey() |
java.lang.String |
getName() |
ItemBase |
getParentRef() |
java.lang.String |
getSourceFile()
It is desirable to combine multiple COBie work books into a single import
such as a s work book from the architectural model and one from the mechanical
model.
|
java.lang.String |
getUniqueId() |
boolean |
isDuplicat(Parser parser,
Item item)
Called if an item with an identical name is found.
|
boolean |
isMatch()
Used by the loader to indicate a match to an existing record in the target system
|
static boolean |
isStringGUID(java.lang.String value) |
static boolean |
isStringReviUID(java.lang.String value) |
void |
removeAttribute(java.lang.String name) |
void |
removeDocument(java.lang.String name) |
ItemFACILITY |
resolveFacilityRef(Parser project) |
void |
resolveRerefences(Parser project,
long flags)
Attempts to establish all the links specified in the various COBie sheet
|
static java.lang.String |
reviUIDroExportGUID(java.lang.String uniqueId) |
void |
setCategory(java.lang.String category) |
void |
setCreatedBy(java.lang.String createdBy) |
void |
setCreatedOn(java.lang.String createdOn) |
void |
setCreatingContact(ItemCONTACT contact) |
void |
setDescription(java.lang.String description) |
void |
setExtIdentifier(java.lang.String extIdentifier) |
void |
setExtObject(java.lang.String extObject) |
void |
setExtSystem(java.lang.String extSystem) |
void |
setFacilityReference(ItemFACILITY facilityRef) |
void |
setGuidConversionFlag(boolean convert)
Determines if the parser attempts to convert base 64 ids to GUIDs
|
void |
setMatch(boolean match) |
void |
setName(java.lang.String name) |
void |
setSourceFile(java.lang.String sourceFile) |
void |
setUniqueId(java.lang.String uniqueId) |
void |
setUniqueIdConversionFlag(boolean convert)
Revid uses a UniqueID for its internal object identifications.
|
boolean |
skip(Parser parser,
long flags)
Called after the item is loaded but before it is added to a page.
|
java.lang.String |
toString() |
void |
update(Item item)
Merge two instances of an object
|
boolean |
valueHasContent(java.lang.String value) |
public boolean isDuplicat(Parser parser, Item item)
Item
isDuplicat
in interface Item
public void update(Item item)
Item
Fields that are blank in the target object are updates with values for fields in the source object
public boolean categoryFromAttribute(java.lang.String omniClassAttribute)
public void addAttribute(ItemATTRIBUTE attrib)
public ItemATTRIBUTE getAttribute(java.lang.String name)
public void removeAttribute(java.lang.String name)
public java.util.Enumeration<ItemATTRIBUTE> attributes()
public int getAttributeCount()
public java.lang.String getCategory()
public void setCategory(java.lang.String category)
public java.lang.String getCreatedBy()
public void setCreatedBy(java.lang.String createdBy)
public java.lang.String getCreatedOn()
public void setCreatedOn(java.lang.String createdOn)
public void setCreatingContact(ItemCONTACT contact)
public java.lang.String getDescription()
getDescription
in interface Item
public void setDescription(java.lang.String description)
public ItemDOCUMENT getDocument(java.lang.String name)
public void removeDocument(java.lang.String name)
public java.util.Enumeration<ItemDOCUMENT> documents()
public java.lang.String getExtIdentifier()
public java.lang.String getExternalIdentifier()
public ItemFACILITY getFacilityReference()
public void setExtIdentifier(java.lang.String extIdentifier)
public java.lang.String getExtSystem()
public java.lang.String getExternalSystem()
public void setExtSystem(java.lang.String extSystem)
public void setFacilityReference(ItemFACILITY facilityRef)
public java.lang.String getExtObject()
public java.lang.String getExternalObject()
public void setExtObject(java.lang.String extObject)
public void setGuidConversionFlag(boolean convert)
Item
setGuidConversionFlag
in interface Item
public void setUniqueIdConversionFlag(boolean convert)
Item
If this flag is set each external identifier is tested to determine if it is the UniqueID format and if it is, it is converted to the and export GUID.
setUniqueIdConversionFlag
in interface Item
public boolean isMatch()
Item
public void setName(java.lang.String name)
public ItemBase getParentRef()
public java.lang.String getSourceFile()
Item
getSourceFile
in interface Item
public java.lang.String getUniqueId()
getUniqueId
in interface Item
public void setSourceFile(java.lang.String sourceFile)
setSourceFile
in interface Item
public void setUniqueId(java.lang.String uniqueId)
setUniqueId
in interface Item
public void resolveRerefences(Parser project, long flags)
Item
resolveRerefences
in interface Item
public ItemFACILITY resolveFacilityRef(Parser project)
public boolean skip(Parser parser, long flags)
Item
public java.lang.String toString()
toString
in class java.lang.Object
public boolean valueHasContent(java.lang.String value)
public void export(Exporter exporter)
Item
public static boolean isStringGUID(java.lang.String value)
public static boolean isStringReviUID(java.lang.String value)
public static java.lang.String base64toGUID(java.lang.String base64)
public static java.lang.String reviUIDroExportGUID(java.lang.String uniqueId)