|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NamedService
Describes the name of the service and how the name is used (as rebind, bind, or lookup). This type is associated to one DeployedComponent that is being named, and to (possibly multiple) DeployedComponents that provide a naming service.
Attributes of NamedService are:
Associations of NamedService 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(); NamedService myObject = (NamedService) factory.createComplexMetadataObject(objectStore, "NamedService_Object", MetadataObjects.NAMEDSERVICE, "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_NAMEDCOMPONENT_NAME
Constant used for the name of the NamedComponent association. |
static java.lang.String |
ASSOCIATION_NAMINGSERVICES_NAME
Constant used for the name of the NamingServices association. |
static java.lang.String |
ATTRIBUTE_SERVICENAME_NAME
Constant used for the name of the ServiceName attribute. |
static java.lang.String |
ATTRIBUTE_TYPE_NAME
Constant used for the name of the Type 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 | |
---|---|
DeployedComponent |
getNamedComponent()
Gets the DeployedComponent for NamedComponent |
AssociationList |
getNamedComponents()
Gets the AssociationList of NamedComponents |
AssociationList |
getNamedComponents(boolean fGoToServer)
Gets the Associationlist of NamedComponents |
AssociationList |
getNamingServices()
Gets the AssociationList of NamingServices |
AssociationList |
getNamingServices(boolean fGoToServer)
Gets the Associationlist of NamingServices |
java.lang.String |
getServiceName()
Gets the String value of ServiceName |
int |
getServiceNameMaxLength()
Gets the maximum length of ServiceName |
int |
getServiceNameState()
Gets the Metadata State of ServiceName |
java.lang.String |
getType()
Gets the String value of Type |
int |
getTypeMaxLength()
Gets the maximum length of Type |
int |
getTypeState()
Gets the Metadata State of Type |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: NamedComponent NamingServices |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: NamedComponent |
void |
setNamedComponent(DeployedComponent inObject)
Sets the NamedComponents list 0th element to be inObject . |
void |
setNamedComponents(AssociationList list)
Sets the NamedComponents list to be list . |
void |
setNamedComponents(AssociationList list,
int state)
Sets the NamedComponents list to be list . |
void |
setNamingServices(AssociationList list)
Sets the NamingServices list to be list . |
void |
setNamingServices(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setServiceName(java.lang.String inServiceName)
Sets the ServiceName value and sets the state to MetadataState.LOCAL. |
void |
setServiceName(java.lang.String inServiceName,
int state)
Sets the ServiceName Metadata State. |
void |
setServiceNameState(int state)
Sets the Metadata State of ServiceName . |
void |
setType(java.lang.String inType)
Sets the Type value and sets the state to MetadataState.LOCAL. |
void |
setType(java.lang.String inType,
int state)
Sets the Type Metadata State. |
void |
setTypeState(int state)
Sets the Metadata State of Type . |
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_SERVICENAME_NAME
ServiceName: ServiceName
static final java.lang.String ATTRIBUTE_TYPE_NAME
Type: This is either Bind, Rebind, or Lookup.
static final java.lang.String ASSOCIATION_NAMEDCOMPONENT_NAME
NamedComponent: The component that is referenced using this name.
static final java.lang.String ASSOCIATION_NAMINGSERVICES_NAME
NamingServices: The deployed component that act as a naming service and publish a service using this name.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
NamedComponent
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
NamedComponent
NamingServices
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getServiceName() throws java.rmi.RemoteException
String
value of ServiceName
ServiceName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getServiceNameState() throws java.rmi.RemoteException
ServiceName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getServiceNameMaxLength() throws java.rmi.RemoteException
ServiceName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getType() throws java.rmi.RemoteException
String
value of Type
Type
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getTypeState() throws java.rmi.RemoteException
Type
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getTypeMaxLength() throws java.rmi.RemoteException
Type
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getNamedComponents() throws java.rmi.RemoteException, MdException
NamedComponents
NamedComponents
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
DeployedComponent getNamedComponent() throws java.rmi.RemoteException, MdException
DeployedComponent
for NamedComponent
DeployedComponent
( null
if not set) of NamedComponent
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 getNamingServices() throws java.rmi.RemoteException, MdException
NamingServices
NamingServices
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 getNamedComponents(boolean fGoToServer) throws java.rmi.RemoteException, MdException
NamedComponents
fGoToServer
- boolean Get the value from the server.
NamedComponents
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 getNamingServices(boolean fGoToServer) throws java.rmi.RemoteException, MdException
NamingServices
fGoToServer
- boolean Get the value from the server.
NamingServices
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 setServiceName(java.lang.String inServiceName) throws java.rmi.RemoteException
ServiceName
value and sets the state to MetadataState.LOCAL.
inServiceName
- String
java.rmi.RemoteException
- If error communicating with remote object.void setServiceName(java.lang.String inServiceName, int state) throws java.rmi.RemoteException
ServiceName
Metadata State.
inServiceName
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setServiceNameState(int state) throws java.rmi.RemoteException
ServiceName
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setType(java.lang.String inType) throws java.rmi.RemoteException
Type
value and sets the state to MetadataState.LOCAL.
inType
- String
java.rmi.RemoteException
- If error communicating with remote object.void setType(java.lang.String inType, int state) throws java.rmi.RemoteException
Type
Metadata State.
inType
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setTypeState(int state) throws java.rmi.RemoteException
Type
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setNamedComponents(AssociationList list) throws java.rmi.RemoteException
NamedComponents
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setNamedComponents(AssociationList list, int state) throws java.rmi.RemoteException
NamedComponents
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setNamedComponent(DeployedComponent inObject) throws java.rmi.RemoteException
NamedComponents
list 0th element to be inObject
.
inObject
- DeployedComponent
java.rmi.RemoteException
- If error communicating with remote object.void setNamingServices(AssociationList list) throws java.rmi.RemoteException
NamingServices
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setNamingServices(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 |