|
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 | |
---|---|
AssociationList |
getContentItems()
Gets the Association list of ContentItems |
AssociationList |
getContentItems(boolean fGoToServer)
Gets the Associationlist of ContentItems |
AssociationList |
getDeviceDescriptors()
Gets the AssociationList of DeviceDescriptors |
AssociationList |
getDeviceDescriptors(boolean fGoToServer)
Gets the Associationlist of DeviceDescriptors |
double |
getMajorVersion()
Gets the double value of MajorVersion |
int |
getMajorVersionState()
Gets the Metadata State of MajorVersion |
java.lang.String |
getMimeType()
Gets the String value of MimeType |
int |
getMimeTypeMaxLength()
Gets the maximum length of MimeType |
int |
getMimeTypeState()
Gets the Metadata State of MimeType |
double |
getMinorVersion()
Gets the double value of MinorVersion |
int |
getMinorVersionState()
Gets the Metadata State of MinorVersion |
AssociationList |
getTypeDefinitions()
Gets the Association list of TypeDefinitions |
AssociationList |
getTypeDefinitions(boolean fGoToServer)
Gets the Associationlist of TypeDefinitions |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: DeviceDescriptors |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setContentItems(AssociationList list)
Sets the ContentItems list to be list . |
void |
setContentItems(AssociationList inObjects,
int state)
Sets the entire ContentItems list to match the passed in AssociationList, sets the state of the ContentItems |
void |
setDeviceDescriptors(AssociationList list)
Sets the DeviceDescriptors list to be list . |
void |
setDeviceDescriptors(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setMajorVersion(double inMajorVersion)
Sets the MajorVersion value and sets the state to MetadataState.LOCAL. |
void |
setMajorVersion(double inMajorVersion,
int state)
Sets the MajorVersion Metadata State. |
void |
setMajorVersion(java.lang.String inMajorVersion)
Sets the MajorVersion value and sets the state to MetadataState.LOCAL |
void |
setMajorVersion(java.lang.String inMajorVersion,
int state)
Sets the MajorVersion value and Metadata State. |
void |
setMajorVersionState(int state)
Sets the Metadata State of MajorVersion . |
void |
setMimeType(java.lang.String inMimeType)
Sets the MimeType value and sets the state to MetadataState.LOCAL. |
void |
setMimeType(java.lang.String inMimeType,
int state)
Sets the MimeType Metadata State. |
void |
setMimeTypeState(int state)
Sets the Metadata State of MimeType . |
void |
setMinorVersion(double inMinorVersion)
Sets the MinorVersion value and sets the state to MetadataState.LOCAL. |
void |
setMinorVersion(double inMinorVersion,
int state)
Sets the MinorVersion Metadata State. |
void |
setMinorVersion(java.lang.String inMinorVersion)
Sets the MinorVersion value and sets the state to MetadataState.LOCAL |
void |
setMinorVersion(java.lang.String inMinorVersion,
int state)
Sets the MinorVersion value and Metadata State. |
void |
setMinorVersionState(int state)
Sets the Metadata State of MinorVersion . |
void |
setTypeDefinitions(AssociationList list)
Sets the TypeDefinitions list to be list . |
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 MdObjectBaseUtil
initializeRequiredObjects
in interface PrimaryType
initializeRequiredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
DeviceDescriptors
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.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 |