public abstract class AbstractTripletStructuredObject extends AbstractStructuredObject
AbstractAFPObject.Category, AbstractAFPObject.Type| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<AbstractTriplet> |
triplets
list of object triplets
|
LOG, SF_CLASS, SF_HEADER_LENGTH| Constructor and Description |
|---|
AbstractTripletStructuredObject() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTriplet(AbstractTriplet triplet)
Adds a triplet to this structured object
|
void |
addTriplets(java.util.Collection<AbstractTriplet> tripletCollection)
Adds a list of triplets to the triplets contained within this structured field
|
java.lang.String |
getFullyQualifiedName() |
protected int |
getTripletDataLength()
Returns the triplet data length
|
protected java.util.List<AbstractTriplet> |
getTriplets() |
boolean |
hasTriplet(byte tripletId)
Returns true of this structured field has the given triplet
|
boolean |
hasTriplets()
Returns true when this structured field contains triplets
|
void |
setComment(java.lang.String commentString)
Sets a comment on this resource
|
void |
setFullyQualifiedName(byte fqnType,
byte fqnFormat,
java.lang.String fqName)
Sets the fully qualified name of this structured field
|
void |
setObjectClassification(byte objectClass,
Registry.ObjectType objectType,
boolean dataInContainer,
boolean containerHasOEG,
boolean dataInOCD)
Sets the objects classification
|
protected void |
writeTriplets(java.io.OutputStream os)
Writes any triplet data
|
writeContent, writeEnd, writeStart, writeToStreamcopySF, copySF, truncate, writeChunksToStream, writeObjectsprotected java.util.List<AbstractTriplet> triplets
protected int getTripletDataLength()
public boolean hasTriplets()
protected void writeTriplets(java.io.OutputStream os)
throws java.io.IOException
os - The stream to write tojava.io.IOException - The stream to write topublic boolean hasTriplet(byte tripletId)
tripletId - the triplet identifierprotected void addTriplet(AbstractTriplet triplet)
triplet - the triplet to addpublic void addTriplets(java.util.Collection<AbstractTriplet> tripletCollection)
tripletCollection - a collection of tripletsprotected java.util.List<AbstractTriplet> getTriplets()
public void setFullyQualifiedName(byte fqnType,
byte fqnFormat,
java.lang.String fqName)
fqnType - the fully qualified name type of this resourcefqnFormat - the fully qualified name format of this resourcefqName - the fully qualified name of this resourcepublic java.lang.String getFullyQualifiedName()
public void setObjectClassification(byte objectClass,
Registry.ObjectType objectType,
boolean dataInContainer,
boolean containerHasOEG,
boolean dataInOCD)
objectClass - the classification of the objectobjectType - the MOD:CA registry object type entry for the given
object/component type of the objectdataInContainer - whether the data resides in the containercontainerHasOEG - whether the container has an object environment groupdataInOCD - whether the data resides in a object container data structured fieldpublic void setComment(java.lang.String commentString)
commentString - a comment stringCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.