|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.viewmarkup.DerivedImage
A Representation viewable in ProductView that is generated (derived) from an object or information outside of the Representable. For example, a DerivedImage can be generated for a WTPart using an EPMDocument and EPMDocConfigSpec. To create a DerivedImage call ViewMarkUpHelper.service.storeDerivedImage() followed by ViewMarkUpHelper.service.postStoreDerivedImage() to insure proper initialization of objects. Do not call the constructor or newDerivedImage methods directly.
Use the newDerivedImage
static factory method(s), not the
DerivedImage
constructor, to construct instances of this
class. Instances must be constructed using the static factory(s), in
order to ensure proper initialization of the instance.
Supported API: false
Extendable: false
Field Summary | |
static String |
ADDITIONAL_INFO
Label for the attribute. |
private static int |
ADDITIONAL_INFO_UPPER_LIMIT
|
private String |
additionalInfo
|
static String |
CADFORM_NAME
Label for the attribute; The CAD Form Name that the Derived Image was create with. |
private static int |
CADFORM_NAME_UPPER_LIMIT
|
private String |
CADFormName
|
static String |
CADPART_NAME
Label for the attribute; The CAD Part Name that the Derived Image was create with. |
private static int |
CADPART_NAME_UPPER_LIMIT
|
private String |
CADPartName
|
private static String |
CLASSNAME
|
private Vector |
contentVector
|
private Boolean |
defaultRepresentation
|
static String |
DERIVATION_TYPE
Label for the attribute. |
private static int |
DERIVATION_TYPE_UPPER_LIMIT
|
private DerivationType |
derivationType
|
static String |
DERIVED_FROM
Label for the attribute. |
static String |
DERIVED_FROM_REFERENCE
Label for the attribute. |
private ObjectReference |
derivedFromReference
|
private String |
description
|
static String |
DESCRIPTION
Label for the attribute. |
private static int |
DESCRIPTION_UPPER_LIMIT
|
private AdminDomainRef |
domainRef
|
static long |
EXTERNALIZATION_VERSION_UID
|
private DataFormatReference |
format
|
private boolean |
hasContents
|
private Vector |
httpVector
|
private boolean |
inheritedDomain
|
private String |
name
|
static String |
NAME
Label for the attribute. |
private static int |
NAME_UPPER_LIMIT
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private HttpContentOperation |
operation
|
private boolean |
outOfDate
|
private Ownership |
ownership
|
private ContentItem |
primary
|
static String |
REPRESENTABLE
Label for the attribute. |
private static int |
REPRESENTATION_TYPE_UPPER_LIMIT
|
private RepresentationType |
representationType
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private PersistInfo |
thePersistInfo
|
private ObjectReference |
theRepresentableReference
|
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.ownership.Ownable |
OWNERSHIP |
Fields inherited from interface wt.representation.Representation |
DEFAULT_REPRESENTATION, OUT_OF_DATE, REPRESENTABLE_REFERENCE, REPRESENTATION_TYPE |
Fields inherited from interface wt.content.FormatContentHolder |
FORMAT, FORMAT_NAME, PRIMARY |
Fields inherited from interface wt.content.ContentHolder |
CONTENT_VECTOR, HAS_CONTENTS, HTTP_VECTOR, OPERATION |
Fields inherited from interface wt.admin.DomainAdministered |
DOMAIN_REF, INHERITED_DOMAIN |
Constructor Summary | |
DerivedImage()
|
Method Summary | |
private void |
additionalInfoValidate(String a_AdditionalInfo)
|
private void |
CADFormNameValidate(String a_CADFormName)
|
private void |
CADPartNameValidate(String a_CADPartName)
|
void |
checkAttributes()
Validate the values of this Persistable object's attributes. |
private void |
defaultRepresentationValidate(Boolean a_DefaultRepresentation)
|
private void |
derivationTypeValidate(DerivationType a_DerivationType)
|
private void |
derivedFromReferenceValidate(ObjectReference a_DerivedFromReference)
|
private void |
descriptionValidate(String a_Description)
|
boolean |
equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifier s. |
private void |
formatValidate(DataFormatReference a_Format)
|
String |
getAdditionalInfo()
Gets the value of the attribute: ADDITIONAL_INFO. |
String |
getCADFormName()
Gets the value of the attribute: CADFORM_NAME. |
String |
getCADPartName()
Gets the value of the attribute: CADPART_NAME. |
ClassInfo |
getClassInfo()
Returns the ClassInfo object for this class. |
String |
getConceptualClassname()
Deprecated. |
Vector |
getContentVector()
Gets the value of the attribute: CONTENT_VECTOR. |
Boolean |
getDefaultRepresentation()
Gets the value of the attribute: DEFAULT_REPRESENTATION. |
DerivationType |
getDerivationType()
Gets the object for the association that plays role: DERIVATION_TYPE. |
RepresentationContributor |
getDerivedFrom()
Gets the object for the association that plays role: DERIVED_FROM. |
PersistableConfigSpec |
getDerivedFromConfigSpec()
Retrieves the object playing the role of derivedFromConfigSpec for the DerivedImage. |
ObjectReference |
getDerivedFromReference()
Gets the value of the attribute: DERIVED_FROM_REFERENCE. |
String |
getDescription()
Gets the value of the attribute: DESCRIPTION. |
AdminDomainRef |
getDomainRef()
Gets the object for the association that plays role: DOMAIN_REF. |
DataFormatReference |
getFormat()
Gets the object for the association that plays role: FORMAT. |
String |
getFormatName()
Gets the value of the attribute: FORMAT_NAME. |
Vector |
getHttpVector()
Gets the value of the attribute: HTTP_VECTOR. |
IdentificationObject |
getIdentificationObject()
Constructs and returns an identification object for a DerivedImage. |
String |
getIdentity()
Supported API: false |
String |
getName()
Gets the value of the attribute: NAME. |
HttpContentOperation |
getOperation()
Gets the value of the attribute: OPERATION. |
Ownership |
getOwnership()
Gets the object for the association that plays role: OWNERSHIP. |
PersistInfo |
getPersistInfo()
Gets the object for the association that plays role: PERSIST_INFO. |
ContentItem |
getPrimary()
Gets the value of the attribute: PRIMARY. |
Representable |
getRepresentable()
Gets the object for the association that plays role: REPRESENTABLE. |
PersistableConfigSpec |
getRepresentableConfigSpec()
Retrieves the object playing the role of representableConfigSpec for the DerivedImage. |
ObjectReference |
getRepresentableReference()
Gets the value of the attribute: REPRESENTABLE_REFERENCE. |
RepresentationType |
getRepresentationType()
Gets the object for the association that plays role: REPRESENTATION_TYPE. |
String |
getType()
Deprecated. Replaced by IdentityFactory.getDispayType(object) to return a localizable equivalent of getType(). Another alternative is ((WTObject)obj).getDisplayType(). |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
protected void |
initialize(String newName)
Supports initialization, following construction of an instance. |
boolean |
isDefaultRepresentation()
Returns true if defaultRepresentation attribute is true or false otherwise. |
boolean |
isHasContents()
Gets the value of the attribute: HAS_CONTENTS. |
boolean |
isInheritedDomain()
Gets the value of the attribute: INHERITED_DOMAIN. |
boolean |
isOutOfDate()
Gets the value of the attribute: OUT_OF_DATE. |
private void |
nameValidate(String a_Name)
|
static DerivedImage |
newDerivedImage(String newName)
Supported API: false |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(DerivedImage thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
private void |
representationTypeValidate(RepresentationType a_RepresentationType)
|
void |
setAdditionalInfo(String a_AdditionalInfo)
Sets the value of the attribute: ADDITIONAL_INFO. |
void |
setCADFormName(String a_CADFormName)
Sets the value of the attribute: CADFORM_NAME. |
void |
setCADPartName(String a_CADPartName)
Sets the value of the attribute: CADPART_NAME. |
void |
setContentVector(Vector a_ContentVector)
Sets the value of the attribute: CONTENT_VECTOR. |
void |
setDefaultRepresentation(Boolean a_DefaultRepresentation)
Sets the value of the attribute: DEFAULT_REPRESENTATION. |
void |
setDerivationType(DerivationType a_DerivationType)
Sets the object for the association that plays role: DERIVATION_TYPE. |
void |
setDerivedFrom(RepresentationContributor a_DerivedFrom)
Sets the object for the association that plays role: DERIVED_FROM. |
void |
setDerivedFromReference(ObjectReference a_DerivedFromReference)
Sets the value of the attribute: DERIVED_FROM_REFERENCE. |
void |
setDescription(String a_Description)
Sets the value of the attribute: DESCRIPTION. |
void |
setDomainRef(AdminDomainRef a_DomainRef)
Sets the object for the association that plays role: DOMAIN_REF. |
void |
setFormat(DataFormatReference a_Format)
Sets the object for the association that plays role: FORMAT. |
void |
setHasContents(boolean a_HasContents)
Sets the value of the attribute: HAS_CONTENTS. |
void |
setHttpVector(Vector a_HttpVector)
Sets the value of the attribute: HTTP_VECTOR. |
void |
setIdentificationObject(IdentificationObject identificationObject)
The "back door" the DerivedImageIdentity uses to set the object attributes when they have been changed (legitimately) by the IdentityService. |
void |
setInheritedDomain(boolean a_InheritedDomain)
Sets the value of the attribute: INHERITED_DOMAIN. |
void |
setName(String a_Name)
Sets the value of the attribute: NAME. |
void |
setOperation(HttpContentOperation a_Operation)
Sets the value of the attribute: OPERATION. |
void |
setOutOfDate(boolean a_OutOfDate)
Sets the value of the attribute: OUT_OF_DATE. |
void |
setOwnership(Ownership a_Ownership)
Sets the object for the association that plays role: OWNERSHIP. |
void |
setPersistInfo(PersistInfo a_PersistInfo)
Sets the object for the association that plays role: PERSIST_INFO. |
void |
setPrimary(ContentItem a_Primary)
Sets the value of the attribute: PRIMARY. |
void |
setRepresentable(Representable a_Representable)
Sets the object for the association that plays role: REPRESENTABLE. |
void |
setRepresentableReference(ObjectReference a_RepresentableReference)
Sets the value of the attribute: REPRESENTABLE_REFERENCE. |
void |
setRepresentationType(RepresentationType a_RepresentationType)
Sets the object for the association that plays role: REPRESENTATION_TYPE. |
private void |
theRepresentableReferenceValidate(ObjectReference a_RepresentableReference)
|
String |
toString()
Returns the conceptual (modeled) name for the class. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String DESCRIPTION
private static int DESCRIPTION_UPPER_LIMIT
private String description
public static final String ADDITIONAL_INFO
private static int ADDITIONAL_INFO_UPPER_LIMIT
private String additionalInfo
public static final String NAME
private static int NAME_UPPER_LIMIT
private String name
public static final String CADFORM_NAME
private static int CADFORM_NAME_UPPER_LIMIT
private String CADFormName
public static final String CADPART_NAME
private static int CADPART_NAME_UPPER_LIMIT
private String CADPartName
public static final String DERIVATION_TYPE
private static int DERIVATION_TYPE_UPPER_LIMIT
private DerivationType derivationType
public static final String DERIVED_FROM
public static final String DERIVED_FROM_REFERENCE
private ObjectReference derivedFromReference
private PersistInfo thePersistInfo
private Ownership ownership
private Boolean defaultRepresentation
private boolean outOfDate
private static int REPRESENTATION_TYPE_UPPER_LIMIT
private RepresentationType representationType
public static final String REPRESENTABLE
private ObjectReference theRepresentableReference
private ContentItem primary
private DataFormatReference format
private Vector contentVector
private boolean hasContents
private HttpContentOperation operation
private Vector httpVector
private boolean inheritedDomain
private AdminDomainRef domainRef
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public DerivedImage()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(DerivedImage thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public String toString()
public ClassInfo getClassInfo() throws WTIntrospectionException
getClassInfo
in interface NetFactor
WTIntrospectionException
public String getDescription()
getDescription
in interface Representation
public void setDescription(String a_Description) throws WTPropertyVetoException
setDescription
in interface Representation
a_Description
-
WTPropertyVetoException
private void descriptionValidate(String a_Description) throws WTPropertyVetoException
a_Description
-
WTPropertyVetoException
public String getAdditionalInfo()
public void setAdditionalInfo(String a_AdditionalInfo) throws WTPropertyVetoException
a_AdditionalInfo
-
WTPropertyVetoException
private void additionalInfoValidate(String a_AdditionalInfo) throws WTPropertyVetoException
a_AdditionalInfo
-
WTPropertyVetoException
public String getName()
getName
in interface Representation
public void setName(String a_Name) throws WTPropertyVetoException
setName
in interface Representation
a_Name
-
WTPropertyVetoException
private void nameValidate(String a_Name) throws WTPropertyVetoException
a_Name
-
WTPropertyVetoException
public String getCADFormName()
public void setCADFormName(String a_CADFormName) throws WTPropertyVetoException
a_CADFormName
-
WTPropertyVetoException
private void CADFormNameValidate(String a_CADFormName) throws WTPropertyVetoException
a_CADFormName
-
WTPropertyVetoException
public String getCADPartName()
public void setCADPartName(String a_CADPartName) throws WTPropertyVetoException
a_CADPartName
-
WTPropertyVetoException
private void CADPartNameValidate(String a_CADPartName) throws WTPropertyVetoException
a_CADPartName
-
WTPropertyVetoException
public DerivationType getDerivationType()
public void setDerivationType(DerivationType a_DerivationType) throws WTPropertyVetoException
a_DerivationType
-
WTPropertyVetoException
private void derivationTypeValidate(DerivationType a_DerivationType) throws WTPropertyVetoException
a_DerivationType
-
WTPropertyVetoException
public RepresentationContributor getDerivedFrom()
public void setDerivedFrom(RepresentationContributor a_DerivedFrom) throws WTPropertyVetoException, WTException
a_DerivedFrom
-
WTPropertyVetoException
WTException
public ObjectReference getDerivedFromReference()
public void setDerivedFromReference(ObjectReference a_DerivedFromReference) throws WTPropertyVetoException
a_DerivedFromReference
-
WTPropertyVetoException
private void derivedFromReferenceValidate(ObjectReference a_DerivedFromReference) throws WTPropertyVetoException
a_DerivedFromReference
-
WTPropertyVetoException
public static DerivedImage newDerivedImage(String newName) throws WTPropertyVetoException
newName
-
WTPropertyVetoException
protected void initialize(String newName) throws WTPropertyVetoException
newName
-
WTPropertyVetoException
public String getIdentity()
getIdentity
in interface Persistable
public IdentificationObject getIdentificationObject() throws WTException
getIdentificationObject
in interface Identified
WTException
public void setIdentificationObject(IdentificationObject identificationObject) throws WTException
identificationObject
-
WTException
public PersistableConfigSpec getRepresentableConfigSpec() throws WTException
WTException
public PersistableConfigSpec getDerivedFromConfigSpec() throws WTException
WTException
public String getType()
getType
in interface Persistable
public void checkAttributes() throws InvalidAttributeException
checkAttributes
in interface Persistable
InvalidAttributeException
public PersistInfo getPersistInfo()
getPersistInfo
in interface Persistable
public void setPersistInfo(PersistInfo a_PersistInfo)
setPersistInfo
in interface Persistable
a_PersistInfo
- public Ownership getOwnership()
getOwnership
in interface Ownable
public void setOwnership(Ownership a_Ownership)
setOwnership
in interface Ownable
a_Ownership
- public Boolean getDefaultRepresentation()
getDefaultRepresentation
in interface Representation
public void setDefaultRepresentation(Boolean a_DefaultRepresentation) throws WTPropertyVetoException
setDefaultRepresentation
in interface Representation
a_DefaultRepresentation
-
WTPropertyVetoException
private void defaultRepresentationValidate(Boolean a_DefaultRepresentation) throws WTPropertyVetoException
a_DefaultRepresentation
-
WTPropertyVetoException
public boolean isOutOfDate()
isOutOfDate
in interface Representation
public void setOutOfDate(boolean a_OutOfDate) throws WTPropertyVetoException
setOutOfDate
in interface Representation
a_OutOfDate
-
WTPropertyVetoException
public boolean isDefaultRepresentation()
isDefaultRepresentation
in interface Representation
public RepresentationType getRepresentationType()
getRepresentationType
in interface Representation
public void setRepresentationType(RepresentationType a_RepresentationType) throws WTPropertyVetoException
setRepresentationType
in interface Representation
a_RepresentationType
-
WTPropertyVetoException
private void representationTypeValidate(RepresentationType a_RepresentationType) throws WTPropertyVetoException
a_RepresentationType
-
WTPropertyVetoException
public Representable getRepresentable()
getRepresentable
in interface Representation
public void setRepresentable(Representable a_Representable) throws WTPropertyVetoException, WTException
setRepresentable
in interface Representation
a_Representable
-
WTPropertyVetoException
WTException
public ObjectReference getRepresentableReference()
getRepresentableReference
in interface Representation
public void setRepresentableReference(ObjectReference a_RepresentableReference) throws WTPropertyVetoException
setRepresentableReference
in interface Representation
a_RepresentableReference
-
WTPropertyVetoException
private void theRepresentableReferenceValidate(ObjectReference a_RepresentableReference) throws WTPropertyVetoException
a_RepresentableReference
-
WTPropertyVetoException
public String getFormatName()
getFormatName
in interface FormatContentHolder
public ContentItem getPrimary()
getPrimary
in interface FormatContentHolder
public void setPrimary(ContentItem a_Primary) throws WTPropertyVetoException
setPrimary
in interface FormatContentHolder
a_Primary
-
WTPropertyVetoException
public DataFormatReference getFormat()
getFormat
in interface FormatContentHolder
public void setFormat(DataFormatReference a_Format) throws WTPropertyVetoException
setFormat
in interface FormatContentHolder
a_Format
-
WTPropertyVetoException
private void formatValidate(DataFormatReference a_Format) throws WTPropertyVetoException
a_Format
-
WTPropertyVetoException
public Vector getContentVector()
getContentVector
in interface ContentHolder
public void setContentVector(Vector a_ContentVector) throws WTPropertyVetoException
setContentVector
in interface ContentHolder
a_ContentVector
-
WTPropertyVetoException
public boolean isHasContents()
isHasContents
in interface ContentHolder
public void setHasContents(boolean a_HasContents) throws WTPropertyVetoException
setHasContents
in interface ContentHolder
a_HasContents
-
WTPropertyVetoException
public HttpContentOperation getOperation()
getOperation
in interface ContentHolder
public void setOperation(HttpContentOperation a_Operation) throws WTPropertyVetoException
setOperation
in interface ContentHolder
a_Operation
-
WTPropertyVetoException
public Vector getHttpVector()
getHttpVector
in interface ContentHolder
public void setHttpVector(Vector a_HttpVector) throws WTPropertyVetoException
setHttpVector
in interface ContentHolder
a_HttpVector
-
WTPropertyVetoException
public boolean isInheritedDomain()
isInheritedDomain
in interface DomainAdministered
public void setInheritedDomain(boolean a_InheritedDomain) throws WTPropertyVetoException
setInheritedDomain
in interface DomainAdministered
a_InheritedDomain
-
WTPropertyVetoException
public AdminDomainRef getDomainRef()
getDomainRef
in interface DomainAdministered
public void setDomainRef(AdminDomainRef a_DomainRef)
setDomainRef
in interface DomainAdministered
a_DomainRef
- public boolean equals(Object obj)
ObjectIdentifier
s.
Changed or stale copies are still considered equal by this method.
Delegates to PersistenceHelper.equals(Persistable,Object)
.
Warning: Certain core Windchill operations may depend upon
equals
being ObjectIdentifier
-based. Changes
to the default implementation should be done with care, if at all.
Supported API: false
obj
-
public int hashCode()
ObjectIdentifier
.
Delegates to PersistenceHelper.hashCode(Persistable)
.
Warning: Certain core Windchill operations may depend upon
hashCode
being ObjectIdentifier-based
. Changes
to the default implementation should be done with care, if at all.
Supported API: false
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |