|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Feature
A feature is a property that is encapsulated within a Classifier.
In the metadata model, a Feature declares a structural or behavioral characteristic of an instance of a Classifier or of the Classifier itself. Feature is an abstract metadata class.Attributes of Feature are:
Associations of Feature 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(); Feature myObject = (Feature) factory.createComplexMetadataObject(objectStore, "Feature_Object", MetadataObjects.FEATURE, "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_SOURCEFEATUREMAPS_NAME
Constant used for the name of the SourceFeatureMaps association. |
static java.lang.String |
ASSOCIATION_TARGETFEATUREMAPS_NAME
Constant used for the name of the TargetFeatureMaps association. |
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 |
getSourceFeatureMaps()
Gets the Association list of SourceFeatureMaps |
AssociationList |
getSourceFeatureMaps(boolean fGoToServer)
Gets the Associationlist of SourceFeatureMaps |
AssociationList |
getTargetFeatureMaps()
Gets the AssociationList of TargetFeatureMaps |
AssociationList |
getTargetFeatureMaps(boolean fGoToServer)
Gets the Associationlist of TargetFeatureMaps |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: TargetFeatureMaps |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setSourceFeatureMaps(AssociationList list)
Sets the SourceFeatureMaps list to be list . |
void |
setSourceFeatureMaps(AssociationList inObjects,
int state)
Sets the entire SourceFeatureMaps list to match the passed in AssociationList, sets the state of the SourceFeatureMaps |
void |
setTargetFeatureMaps(AssociationList list)
Sets the TargetFeatureMaps list to be list . |
void |
setTargetFeatureMaps(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
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 ASSOCIATION_TARGETFEATUREMAPS_NAME
TargetFeatureMaps: The features that are the target of the feature map.
static final java.lang.String ASSOCIATION_SOURCEFEATUREMAPS_NAME
SourceFeatureMaps: The feature map that uses these features as input.
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
TargetFeatureMaps
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getTargetFeatureMaps() throws java.rmi.RemoteException, MdException
TargetFeatureMaps
TargetFeatureMaps
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 getSourceFeatureMaps() throws java.rmi.RemoteException, MdException
SourceFeatureMaps
SourceFeatureMaps
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 getTargetFeatureMaps(boolean fGoToServer) throws java.rmi.RemoteException, MdException
TargetFeatureMaps
fGoToServer
- boolean Get the value from the server.
TargetFeatureMaps
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 getSourceFeatureMaps(boolean fGoToServer) throws java.rmi.RemoteException, MdException
SourceFeatureMaps
fGoToServer
- boolean Get the value from the server.
SourceFeatureMaps
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 setTargetFeatureMaps(AssociationList list) throws java.rmi.RemoteException
TargetFeatureMaps
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setTargetFeatureMaps(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setSourceFeatureMaps(AssociationList list) throws java.rmi.RemoteException
SourceFeatureMaps
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setSourceFeatureMaps(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 |