|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface ContentType
Describes the type of content contained in the associated object. This will allow application that deliver content to determine if content may be displayed and/or the best way to display the content.
Attributes of ContentType are:
Associations of ContentType are:
factory
create methods. // create a store to contain your objects for this change. If you do not have an existing object // or store to use. You may obtain the store from another object by using Object.getObjectStore(). MdFactory factory; //where "factory" is a valid MdFactory instance MdObjectStore objectStore = factory.createObjectStore(); ContentType myObject = (ContentType) factory.createComplexMetadataObject(objectStore, "ContentType_Object", MetadataObjects.CONTENTTYPE, "AAAAAAAA"); myObject.updateMetadataAll(); // Write object to server objectStore.dispose(); // dispose of the object store if it is no longer needed
MdOMIUtil.
updateMetadataAll
method.
delete method can be used.
This will flag the object as being deleted on the client, and will require an update call to persist
the change to the server.
| Field Summary | |
|---|---|
static java.lang.String |
ASSOCIATION_CONTENTITEMS_NAME
Constant used for the name of the ContentItems association. |
static java.lang.String |
ASSOCIATION_DEVICEDESCRIPTORS_NAME
Constant used for the name of the DeviceDescriptors association. |
static java.lang.String |
ASSOCIATION_TYPEDEFINITIONS_NAME
Constant used for the name of the TypeDefinitions association. |
static java.lang.String |
ATTRIBUTE_MAJORVERSION_NAME
Constant used for the name of the MajorVersion attribute. |
static java.lang.String |
ATTRIBUTE_MIMETYPE_NAME
Constant used for the name of the MimeType attribute. |
static java.lang.String |
ATTRIBUTE_MINORVERSION_NAME
Constant used for the name of the MinorVersion attribute. |
| Fields inherited from interface com.sas.metadata.remote.PrimaryType |
|---|
ASSOCIATION_FAVORITESCONTAINERS_NAME, ATTRIBUTE_ISHIDDEN_NAME, ATTRIBUTE_PUBLICTYPE_NAME |
| Fields inherited from interface com.sas.metadata.remote.MdObjectBase |
|---|
ATTRIBUTE_DESC_NAME, ATTRIBUTE_ID_NAME, ATTRIBUTE_METADATACREATED_NAME, ATTRIBUTE_METADATAUPDATED_NAME, ATTRIBUTE_NAME_NAME |
| Method Summary | |
|---|---|
abstract AssociationList |
getContentItems()
Gets the Association list of ContentItems |
abstract AssociationList |
getContentItems(boolean fGoToServer)
Gets the Associationlist of ContentItems |
abstract AssociationList |
getDeviceDescriptors()
Gets the AssociationList of DeviceDescriptors |
abstract AssociationList |
getDeviceDescriptors(boolean fGoToServer)
Gets the Associationlist of DeviceDescriptors |
abstract double |
getMajorVersion()
Gets the double value of MajorVersion |
abstract int |
getMajorVersionState()
Gets the Metadata State of MajorVersion |
abstract java.lang.String |
getMimeType()
Gets the String value of MimeType |
abstract int |
getMimeTypeMaxLength()
Gets the maximum length of MimeType |
abstract int |
getMimeTypeState()
Gets the Metadata State of MimeType |
abstract double |
getMinorVersion()
Gets the double value of MinorVersion |
abstract int |
getMinorVersionState()
Gets the Metadata State of MinorVersion |
abstract AssociationList |
getTypeDefinitions()
Gets the Association list of TypeDefinitions |
abstract AssociationList |
getTypeDefinitions(boolean fGoToServer)
Gets the Associationlist of TypeDefinitions |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: DeviceDescriptors |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
abstract void |
setContentItems(AssociationList list)
Sets the ContentItems list to be list. |
abstract void |
setContentItems(AssociationList inObjects,
int state)
Sets the entire ContentItems list to match the passed in AssociationList, sets the state of the ContentItems |
abstract void |
setDeviceDescriptors(AssociationList list)
Sets the DeviceDescriptors list to be list. |
abstract void |
setDeviceDescriptors(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
abstract void |
setMajorVersion(double inMajorVersion)
Sets the MajorVersion value and sets the state to MetadataState.LOCAL. |
abstract void |
setMajorVersion(double inMajorVersion,
int state)
Sets the MajorVersion Metadata State. |
abstract void |
setMajorVersion(java.lang.String inMajorVersion)
Sets the MajorVersion value and sets the state to MetadataState.LOCAL |
abstract void |
setMajorVersion(java.lang.String inMajorVersion,
int state)
Sets the MajorVersion value and Metadata State. |
abstract void |
setMajorVersionState(int state)
Sets the Metadata State of MajorVersion. |
abstract void |
setMimeType(java.lang.String inMimeType)
Sets the MimeType value and sets the state to MetadataState.LOCAL. |
abstract void |
setMimeType(java.lang.String inMimeType,
int state)
Sets the MimeType Metadata State. |
abstract void |
setMimeTypeState(int state)
Sets the Metadata State of MimeType. |
abstract void |
setMinorVersion(double inMinorVersion)
Sets the MinorVersion value and sets the state to MetadataState.LOCAL. |
abstract void |
setMinorVersion(double inMinorVersion,
int state)
Sets the MinorVersion Metadata State. |
abstract void |
setMinorVersion(java.lang.String inMinorVersion)
Sets the MinorVersion value and sets the state to MetadataState.LOCAL |
abstract void |
setMinorVersion(java.lang.String inMinorVersion,
int state)
Sets the MinorVersion value and Metadata State. |
abstract void |
setMinorVersionState(int state)
Sets the Metadata State of MinorVersion. |
abstract void |
setTypeDefinitions(AssociationList list)
Sets the TypeDefinitions list to be list. |
abstract void |
setTypeDefinitions(AssociationList inObjects,
int state)
Sets the entire TypeDefinitions list to match the passed in AssociationList, sets the state of the TypeDefinitions |
| Methods inherited from interface com.sas.metadata.remote.PrimaryType |
|---|
getFavoritesContainers, getFavoritesContainers, getIsHidden, getIsHiddenState, getPublicType, getPublicTypeMaxLength, getPublicTypeState, setFavoritesContainers, setFavoritesContainers, setIsHidden, setIsHidden, setIsHidden, setIsHidden, setIsHiddenState, setPublicType, setPublicType, setPublicTypeState |
| Methods inherited from interface com.sas.metadata.remote.MdObjectBaseXML |
|---|
closeUpdateMetadataXML, createEmptyXML, createObjectRefreshXML, createObjectXML, createObjectXML, createUpdateAssociationXML, createUpdateAssociationXML, createUpdateSimpleXML, doCreateUpdateXML, getUpdateSimpleSubstring, updateMetadataAll |
| Field Detail |
|---|
static final java.lang.String ATTRIBUTE_MAJORVERSION_NAME
MajorVersion: Major version of the MIME standard used to describe this content.
static final java.lang.String ATTRIBUTE_MINORVERSION_NAME
MinorVersion: Minor version of the MIME standard used to describe this content.
static final java.lang.String ATTRIBUTE_MIMETYPE_NAME
MimeType: Description of the type and format of the content as defined by the MIME internet standard.
static final java.lang.String ASSOCIATION_DEVICEDESCRIPTORS_NAME
DeviceDescriptors: The description of devices that can display this content type.
static final java.lang.String ASSOCIATION_CONTENTITEMS_NAME
ContentItems: The content that conforms to this content type.
static final java.lang.String ASSOCIATION_TYPEDEFINITIONS_NAME
TypeDefinitions: The type definition that makes use of this content type.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface PrimaryTypeinitializeRequiredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
DeviceDescriptors
initializePredObjects in interface MdObjectBaseinitializePredObjects in interface PrimaryTypeinitializePredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
double getMajorVersion()
throws java.rmi.RemoteException
double value of MajorVersion
MajorVersion
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getMajorVersionState()
throws java.rmi.RemoteException
MajorVersion
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
double getMinorVersion()
throws java.rmi.RemoteException
double value of MinorVersion
MinorVersion
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getMinorVersionState()
throws java.rmi.RemoteException
MinorVersion
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getMimeType()
throws java.rmi.RemoteException
String value of MimeType
MimeType
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getMimeTypeState()
throws java.rmi.RemoteException
MimeType
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getMimeTypeMaxLength()
throws java.rmi.RemoteException
MimeType
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getDeviceDescriptors()
throws java.rmi.RemoteException,
MdException
DeviceDescriptors
DeviceDescriptors which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getContentItems()
throws java.rmi.RemoteException,
MdException
ContentItems
ContentItems which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getTypeDefinitions()
throws java.rmi.RemoteException,
MdException
TypeDefinitions
TypeDefinitions which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getDeviceDescriptors(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
DeviceDescriptors
fGoToServer - boolean Get the value from the server.
DeviceDescriptors which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getContentItems(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
ContentItems
fGoToServer - boolean Get the value from the server.
ContentItems which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getTypeDefinitions(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
TypeDefinitions
fGoToServer - boolean Get the value from the server.
TypeDefinitions which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
void setMajorVersion(double inMajorVersion)
throws java.rmi.RemoteException
MajorVersion value and sets the state to MetadataState.LOCAL.
inMajorVersion - double
java.rmi.RemoteException - If error communicating with remote object.
void setMajorVersion(double inMajorVersion,
int state)
throws java.rmi.RemoteException
MajorVersion Metadata State.
inMajorVersion - doublestate - int
java.rmi.RemoteException - If error communicating with remote object.
void setMajorVersion(java.lang.String inMajorVersion)
throws java.rmi.RemoteException
MajorVersion value and sets the state to MetadataState.LOCAL
inMajorVersion - String
java.rmi.RemoteException - If error communicating with remote object.
void setMajorVersion(java.lang.String inMajorVersion,
int state)
throws java.rmi.RemoteException
MajorVersion value and Metadata State.
inMajorVersion - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setMajorVersionState(int state)
throws java.rmi.RemoteException
MajorVersion.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setMinorVersion(double inMinorVersion)
throws java.rmi.RemoteException
MinorVersion value and sets the state to MetadataState.LOCAL.
inMinorVersion - double
java.rmi.RemoteException - If error communicating with remote object.
void setMinorVersion(double inMinorVersion,
int state)
throws java.rmi.RemoteException
MinorVersion Metadata State.
inMinorVersion - doublestate - int
java.rmi.RemoteException - If error communicating with remote object.
void setMinorVersion(java.lang.String inMinorVersion)
throws java.rmi.RemoteException
MinorVersion value and sets the state to MetadataState.LOCAL
inMinorVersion - String
java.rmi.RemoteException - If error communicating with remote object.
void setMinorVersion(java.lang.String inMinorVersion,
int state)
throws java.rmi.RemoteException
MinorVersion value and Metadata State.
inMinorVersion - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setMinorVersionState(int state)
throws java.rmi.RemoteException
MinorVersion.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setMimeType(java.lang.String inMimeType)
throws java.rmi.RemoteException
MimeType value and sets the state to MetadataState.LOCAL.
inMimeType - String
java.rmi.RemoteException - If error communicating with remote object.
void setMimeType(java.lang.String inMimeType,
int state)
throws java.rmi.RemoteException
MimeType Metadata State.
inMimeType - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setMimeTypeState(int state)
throws java.rmi.RemoteException
MimeType.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setDeviceDescriptors(AssociationList list)
throws java.rmi.RemoteException
DeviceDescriptors list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setDeviceDescriptors(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setContentItems(AssociationList list)
throws java.rmi.RemoteException
ContentItems list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setContentItems(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setTypeDefinitions(AssociationList list)
throws java.rmi.RemoteException
TypeDefinitions list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setTypeDefinitions(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||