|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PrototypeProperty
This is the super type for types that define properties that are for prototype objects only. These are either AttributeProperty or AssociationProperty objects.
Attributes of PrototypeProperty are:
Associations of PrototypeProperty 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(); PrototypeProperty myObject = (PrototypeProperty) factory.createComplexMetadataObject(objectStore, "PrototypeProperty_Object", MetadataObjects.PROTOTYPEPROPERTY, "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_OWNINGPROTOTYPE_NAME
Constant used for the name of the OwningPrototype association. |
Fields inherited from interface com.sas.metadata.remote.AbstractProperty |
---|
ASSOCIATION_ASSOCIATEDPROPERTYGROUP_NAME, ASSOCIATION_CUSTOMIZERS_NAME, ASSOCIATION_EDITORS_NAME, ASSOCIATION_STOREDCONFIGURATION_NAME, ASSOCIATION_VALIDATORS_NAME, ATTRIBUTE_ISEXPERT_NAME, ATTRIBUTE_ISLINKED_NAME, ATTRIBUTE_ISREQUIRED_NAME, ATTRIBUTE_ISUPDATEABLE_NAME, ATTRIBUTE_ISVISIBLE_NAME |
Fields inherited from interface com.sas.metadata.remote.LocalizedType |
---|
ASSOCIATION_RESOURCES_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 | |
---|---|
Prototype |
getOwningPrototype()
Gets the Prototype for OwningPrototype |
AssociationList |
getOwningPrototypes()
Gets the Association list of OwningPrototypes |
AssociationList |
getOwningPrototypes(boolean fGoToServer)
Gets the Associationlist of OwningPrototypes |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: OwningPrototype |
void |
setOwningPrototype(Prototype inObject)
Sets the OwningPrototypes list 0th element to be inObject . |
void |
setOwningPrototypes(AssociationList list)
Sets the OwningPrototypes list to be list . |
void |
setOwningPrototypes(AssociationList list,
int state)
Sets the OwningPrototypes list to be list . |
Methods inherited from interface com.sas.metadata.remote.LocalizedType |
---|
getResources, getResources, setResources, setResources |
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 ASSOCIATION_OWNINGPROTOTYPE_NAME
OwningPrototype: The prototype that owns these properties.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
OwningPrototype
initializeRequiredObjects
in interface AbstractProperty
initializeRequiredObjects
in interface LocalizedType
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface Root
initializeRequiredObjects
in interface SecondaryType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
initializePredObjects
in interface AbstractProperty
initializePredObjects
in interface LocalizedType
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface Root
initializePredObjects
in interface SecondaryType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getOwningPrototypes() throws java.rmi.RemoteException, MdException
OwningPrototypes
OwningPrototypes
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.Prototype getOwningPrototype() throws java.rmi.RemoteException, MdException
Prototype
for OwningPrototype
Prototype
( null
if not set ) of OwningPrototype
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 getOwningPrototypes(boolean fGoToServer) throws java.rmi.RemoteException, MdException
OwningPrototypes
fGoToServer
- boolean Get the value from the server.
OwningPrototypes
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 setOwningPrototypes(AssociationList list) throws java.rmi.RemoteException
OwningPrototypes
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setOwningPrototypes(AssociationList list, int state) throws java.rmi.RemoteException
OwningPrototypes
list to be list
. Objects of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setOwningPrototype(Prototype inObject) throws java.rmi.RemoteException
OwningPrototypes
list 0th element to be inObject
.
inObject
- Prototype
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 |