|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyGroup
Represents a group of properties. The properties that are part of this group are associated using the GroupedProperties association.
Attributes of PropertyGroup are:
Associations of PropertyGroup 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(); PropertyGroup myObject = (PropertyGroup) factory.createComplexMetadataObject(objectStore, "PropertyGroup_Object", MetadataObjects.PROPERTYGROUP, "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_ASSOCIATEDOBJECT_NAME
Constant used for the name of the AssociatedObject association. |
static java.lang.String |
ASSOCIATION_CUSTOMIZERS_NAME
Constant used for the name of the Customizers association. |
static java.lang.String |
ASSOCIATION_GROUPEDPROPERTIES_NAME
Constant used for the name of the GroupedProperties association. |
static java.lang.String |
ASSOCIATION_PARENTGROUP_NAME
Constant used for the name of the ParentGroup association. |
static java.lang.String |
ASSOCIATION_SUBPROPERTYGROUPS_NAME
Constant used for the name of the SubpropertyGroups association. |
static java.lang.String |
ATTRIBUTE_ISVISIBLE_NAME
Constant used for the name of the IsVisible attribute. |
static java.lang.String |
ATTRIBUTE_MAXIMUM_NAME
Constant used for the name of the Maximum attribute. |
static java.lang.String |
ATTRIBUTE_MINIMUM_NAME
Constant used for the name of the Minimum attribute. |
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 | |
---|---|
Root |
getAssociatedObject()
Gets the Root for AssociatedObject |
AssociationList |
getAssociatedObjects()
Gets the AssociationList of AssociatedObjects |
AssociationList |
getAssociatedObjects(boolean fGoToServer)
Gets the Associationlist of AssociatedObjects |
AssociationList |
getCustomizers()
Gets the AssociationList of Customizers |
AssociationList |
getCustomizers(boolean fGoToServer)
Gets the Associationlist of Customizers |
AssociationList |
getGroupedProperties()
Gets the Association list of GroupedProperties |
AssociationList |
getGroupedProperties(boolean fGoToServer)
Gets the Associationlist of GroupedProperties |
int |
getIsVisible()
Gets the int value of IsVisible |
int |
getIsVisibleState()
Gets the Metadata State of IsVisible |
int |
getMaximum()
Gets the int value of Maximum |
int |
getMaximumState()
Gets the Metadata State of Maximum |
int |
getMinimum()
Gets the int value of Minimum |
int |
getMinimumState()
Gets the Metadata State of Minimum |
PropertyGroup |
getParentGroup()
Gets the PropertyGroup for ParentGroup |
AssociationList |
getParentGroups()
Gets the AssociationList of ParentGroups |
AssociationList |
getParentGroups(boolean fGoToServer)
Gets the Associationlist of ParentGroups |
AssociationList |
getSubpropertyGroups()
Gets the Association list of SubpropertyGroups |
AssociationList |
getSubpropertyGroups(boolean fGoToServer)
Gets the Associationlist of SubpropertyGroups |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: AssociatedObject Customizers ParentGroup |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setAssociatedObject(Root inObject)
Sets the AssociatedObjects list 0th element to be inObject . |
void |
setAssociatedObjects(AssociationList list)
Sets the AssociatedObjects list to be list . |
void |
setAssociatedObjects(AssociationList list,
int state)
Sets the AssociatedObjects list to be list . |
void |
setCustomizers(AssociationList list)
Sets the Customizers list to be list . |
void |
setCustomizers(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setGroupedProperties(AssociationList list)
Sets the GroupedProperties list to be list . |
void |
setGroupedProperties(AssociationList inObjects,
int state)
Sets the entire GroupedProperties list to match the passed in AssociationList, sets the state of the GroupedProperties |
void |
setIsVisible(int inIsVisible)
Sets the IsVisible value and sets the state to MetadataState.LOCAL. |
void |
setIsVisible(int inIsVisible,
int state)
Sets the IsVisible Metadata State. |
void |
setIsVisible(java.lang.String inIsVisible)
Sets the IsVisible value and sets the state to MetadataState.LOCAL. |
void |
setIsVisible(java.lang.String inIsVisible,
int state)
Sets the IsVisible value and Metadata State. |
void |
setIsVisibleState(int state)
Sets the Metadata State of IsVisible . |
void |
setMaximum(int inMaximum)
Sets the Maximum value and sets the state to MetadataState.LOCAL. |
void |
setMaximum(int inMaximum,
int state)
Sets the Maximum Metadata State. |
void |
setMaximum(java.lang.String inMaximum)
Sets the Maximum value and sets the state to MetadataState.LOCAL. |
void |
setMaximum(java.lang.String inMaximum,
int state)
Sets the Maximum value and Metadata State. |
void |
setMaximumState(int state)
Sets the Metadata State of Maximum . |
void |
setMinimum(int inMinimum)
Sets the Minimum value and sets the state to MetadataState.LOCAL. |
void |
setMinimum(int inMinimum,
int state)
Sets the Minimum Metadata State. |
void |
setMinimum(java.lang.String inMinimum)
Sets the Minimum value and sets the state to MetadataState.LOCAL. |
void |
setMinimum(java.lang.String inMinimum,
int state)
Sets the Minimum value and Metadata State. |
void |
setMinimumState(int state)
Sets the Metadata State of Minimum . |
void |
setParentGroup(PropertyGroup inObject)
Sets the ParentGroups list 0th element to be inObject . |
void |
setParentGroups(AssociationList list)
Sets the ParentGroups list to be list . |
void |
setParentGroups(AssociationList list,
int state)
Sets the ParentGroups list to be list . |
void |
setSubpropertyGroups(AssociationList list)
Sets the SubpropertyGroups list to be list . |
void |
setSubpropertyGroups(AssociationList inObjects,
int state)
Sets the entire SubpropertyGroups list to match the passed in AssociationList, sets the state of the SubpropertyGroups |
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 ATTRIBUTE_ISVISIBLE_NAME
IsVisible: Should this property be displayed in a UI?
static final java.lang.String ATTRIBUTE_MINIMUM_NAME
Minimum: This is an optional attribute that describes the minimum number of property objects in this group that must have values.
static final java.lang.String ATTRIBUTE_MAXIMUM_NAME
Maximum: This is an optional attribute that describes the maximum number of property objects in this group that may have settings.
static final java.lang.String ASSOCIATION_ASSOCIATEDOBJECT_NAME
AssociatedObject: The object that uses this group of properties.
static final java.lang.String ASSOCIATION_CUSTOMIZERS_NAME
Customizers: The programs that customizes this property group.A customizer is a standalone editor used to customize or edit a value. It does not reside inside a UI element as an editor does, but defines it's own window. If none exists on the entity, the customizer of the property type is returned.
static final java.lang.String ASSOCIATION_PARENTGROUP_NAME
ParentGroup: The parent group for this group of properties.
static final java.lang.String ASSOCIATION_GROUPEDPROPERTIES_NAME
GroupedProperties: The properties in this group.
static final java.lang.String ASSOCIATION_SUBPROPERTYGROUPS_NAME
SubpropertyGroups: The subgroups for this group of properties.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
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
AssociatedObject
Customizers
ParentGroup
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.int getIsVisible() throws java.rmi.RemoteException
int
value of IsVisible
IsVisible
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getIsVisibleState() throws java.rmi.RemoteException
IsVisible
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getMinimum() throws java.rmi.RemoteException
int
value of Minimum
Minimum
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getMinimumState() throws java.rmi.RemoteException
Minimum
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getMaximum() throws java.rmi.RemoteException
int
value of Maximum
Maximum
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getMaximumState() throws java.rmi.RemoteException
Maximum
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getAssociatedObjects() throws java.rmi.RemoteException, MdException
AssociatedObjects
AssociatedObjects
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
Root getAssociatedObject() throws java.rmi.RemoteException, MdException
Root
for AssociatedObject
Root
( null
if not set) of AssociatedObject
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 getCustomizers() throws java.rmi.RemoteException, MdException
Customizers
Customizers
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 getParentGroups() throws java.rmi.RemoteException, MdException
ParentGroups
ParentGroups
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
PropertyGroup getParentGroup() throws java.rmi.RemoteException, MdException
PropertyGroup
for ParentGroup
PropertyGroup
( null
if not set) of ParentGroup
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 getGroupedProperties() throws java.rmi.RemoteException, MdException
GroupedProperties
GroupedProperties
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 getSubpropertyGroups() throws java.rmi.RemoteException, MdException
SubpropertyGroups
SubpropertyGroups
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 getAssociatedObjects(boolean fGoToServer) throws java.rmi.RemoteException, MdException
AssociatedObjects
fGoToServer
- boolean Get the value from the server.
AssociatedObjects
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 getCustomizers(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Customizers
fGoToServer
- boolean Get the value from the server.
Customizers
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 getParentGroups(boolean fGoToServer) throws java.rmi.RemoteException, MdException
ParentGroups
fGoToServer
- boolean Get the value from the server.
ParentGroups
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 getGroupedProperties(boolean fGoToServer) throws java.rmi.RemoteException, MdException
GroupedProperties
fGoToServer
- boolean Get the value from the server.
GroupedProperties
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 getSubpropertyGroups(boolean fGoToServer) throws java.rmi.RemoteException, MdException
SubpropertyGroups
fGoToServer
- boolean Get the value from the server.
SubpropertyGroups
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 setIsVisible(int inIsVisible) throws java.rmi.RemoteException
IsVisible
value and sets the state to MetadataState.LOCAL.
inIsVisible
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIsVisible(int inIsVisible, int state) throws java.rmi.RemoteException
IsVisible
Metadata State.
inIsVisible
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIsVisible(java.lang.String inIsVisible) throws java.rmi.RemoteException
IsVisible
value and sets the state to MetadataState.LOCAL.
inIsVisible
- String
java.rmi.RemoteException
- If error communicating with remote object.void setIsVisible(java.lang.String inIsVisible, int state) throws java.rmi.RemoteException
IsVisible
value and Metadata State.
inIsVisible
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIsVisibleState(int state) throws java.rmi.RemoteException
IsVisible
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setMinimum(int inMinimum) throws java.rmi.RemoteException
Minimum
value and sets the state to MetadataState.LOCAL.
inMinimum
- int
java.rmi.RemoteException
- If error communicating with remote object.void setMinimum(int inMinimum, int state) throws java.rmi.RemoteException
Minimum
Metadata State.
inMinimum
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setMinimum(java.lang.String inMinimum) throws java.rmi.RemoteException
Minimum
value and sets the state to MetadataState.LOCAL.
inMinimum
- String
java.rmi.RemoteException
- If error communicating with remote object.void setMinimum(java.lang.String inMinimum, int state) throws java.rmi.RemoteException
Minimum
value and Metadata State.
inMinimum
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setMinimumState(int state) throws java.rmi.RemoteException
Minimum
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setMaximum(int inMaximum) throws java.rmi.RemoteException
Maximum
value and sets the state to MetadataState.LOCAL.
inMaximum
- int
java.rmi.RemoteException
- If error communicating with remote object.void setMaximum(int inMaximum, int state) throws java.rmi.RemoteException
Maximum
Metadata State.
inMaximum
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setMaximum(java.lang.String inMaximum) throws java.rmi.RemoteException
Maximum
value and sets the state to MetadataState.LOCAL.
inMaximum
- String
java.rmi.RemoteException
- If error communicating with remote object.void setMaximum(java.lang.String inMaximum, int state) throws java.rmi.RemoteException
Maximum
value and Metadata State.
inMaximum
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setMaximumState(int state) throws java.rmi.RemoteException
Maximum
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedObjects(AssociationList list) throws java.rmi.RemoteException
AssociatedObjects
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedObjects(AssociationList list, int state) throws java.rmi.RemoteException
AssociatedObjects
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedObject(Root inObject) throws java.rmi.RemoteException
AssociatedObjects
list 0th element to be inObject
.
inObject
- Root
java.rmi.RemoteException
- If error communicating with remote object.void setCustomizers(AssociationList list) throws java.rmi.RemoteException
Customizers
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setCustomizers(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setParentGroups(AssociationList list) throws java.rmi.RemoteException
ParentGroups
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setParentGroups(AssociationList list, int state) throws java.rmi.RemoteException
ParentGroups
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setParentGroup(PropertyGroup inObject) throws java.rmi.RemoteException
ParentGroups
list 0th element to be inObject
.
inObject
- PropertyGroup
java.rmi.RemoteException
- If error communicating with remote object.void setGroupedProperties(AssociationList list) throws java.rmi.RemoteException
GroupedProperties
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setGroupedProperties(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setSubpropertyGroups(AssociationList list) throws java.rmi.RemoteException
SubpropertyGroups
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setSubpropertyGroups(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 |