|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Email
An e-mail address.
Attributes of Email are:
Associations of Email 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(); Email myObject = (Email) factory.createComplexMetadataObject(objectStore, "Email_Object", MetadataObjects.EMAIL, "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_EMAILSUBSCRIBER_NAME
Constant used for the name of the EmailSubscriber association. |
static java.lang.String |
ASSOCIATION_PERSONS_NAME
Constant used for the name of the Persons association. |
static java.lang.String |
ATTRIBUTE_ADDRESS_NAME
Constant used for the name of the Address attribute. |
static java.lang.String |
ATTRIBUTE_EMAILTYPE_NAME
Constant used for the name of the EmailType attribute. |
Fields inherited from interface com.sas.metadata.remote.ContentLocation |
---|
ASSOCIATION_ASSOCIATEDCONTENTTYPE_NAME, ASSOCIATION_FILEREFS_NAME, ASSOCIATION_REPORTS_NAME, ASSOCIATION_TSASSOCIATEDNAMESPACE_NAME, ASSOCIATION_UNITOFTIMES_NAME |
Fields inherited from interface com.sas.metadata.remote.DeployedDataPackage |
---|
ASSOCIATION_ALIASES_NAME, ASSOCIATION_ALIASFOR_NAME, ASSOCIATION_DEPLOYEDCOMPONENTS_NAME, ASSOCIATION_TABLECOLLECTIONS_NAME, ASSOCIATION_USEDBYPACKAGES_NAME, ASSOCIATION_USINGPACKAGES_NAME |
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 | |
---|---|
java.lang.String |
getAddress()
Gets the String value of Address |
int |
getAddressMaxLength()
Gets the maximum length of Address |
int |
getAddressState()
Gets the Metadata State of Address |
AssociationList |
getEmailSubscriber()
Gets the Association list of EmailSubscriber |
AssociationList |
getEmailSubscriber(boolean fGoToServer)
Gets the Associationlist of EmailSubscriber |
java.lang.String |
getEmailType()
Gets the String value of EmailType |
int |
getEmailTypeMaxLength()
Gets the maximum length of EmailType |
int |
getEmailTypeState()
Gets the Metadata State of EmailType |
AssociationList |
getPersons()
Gets the Association list of Persons |
AssociationList |
getPersons(boolean fGoToServer)
Gets the Associationlist of Persons |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setAddress(java.lang.String inAddress)
Sets the Address value and sets the state to MetadataState.LOCAL. |
void |
setAddress(java.lang.String inAddress,
int state)
Sets the Address Metadata State. |
void |
setAddressState(int state)
Sets the Metadata State of Address . |
void |
setEmailSubscriber(AssociationList list)
Sets the EmailSubscriber list to be list . |
void |
setEmailSubscriber(AssociationList inObjects,
int state)
Sets the entire EmailSubscriber list to match the passed in AssociationList, sets the state of the EmailSubscriber |
void |
setEmailType(java.lang.String inEmailType)
Sets the EmailType value and sets the state to MetadataState.LOCAL. |
void |
setEmailType(java.lang.String inEmailType,
int state)
Sets the EmailType Metadata State. |
void |
setEmailTypeState(int state)
Sets the Metadata State of EmailType . |
void |
setPersons(AssociationList list)
Sets the Persons list to be list . |
void |
setPersons(AssociationList inObjects,
int state)
Sets the entire Persons list to match the passed in AssociationList, sets the state of the Persons |
Methods inherited from interface com.sas.metadata.remote.DeployedDataPackage |
---|
getAliases, getAliases, getAliasFor, getAliasFors, getAliasFors, getDeployedComponents, getDeployedComponents, getTableCollections, getTableCollections, getUsedByPackages, getUsedByPackages, getUsingPackages, getUsingPackages, setAliases, setAliases, setAliasFor, setAliasFors, setAliasFors, setDeployedComponents, setDeployedComponents, setTableCollections, setTableCollections, setUsedByPackages, setUsedByPackages, setUsingPackages, setUsingPackages |
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_ADDRESS_NAME
Address: The e-mail address
static final java.lang.String ATTRIBUTE_EMAILTYPE_NAME
EmailType: The type of e-mail address: such as Home, Work.
static final java.lang.String ASSOCIATION_EMAILSUBSCRIBER_NAME
EmailSubscriber: Subscriber profile that uses this email address to deliver content.
static final java.lang.String ASSOCIATION_PERSONS_NAME
Persons: *Unknown*
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface ContentLocation
initializeRequiredObjects
in interface DeployedDataPackage
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
initializePredObjects
in interface ContentLocation
initializePredObjects
in interface DeployedDataPackage
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 getAddress() throws java.rmi.RemoteException
String
value of Address
Address
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getAddressState() throws java.rmi.RemoteException
Address
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getAddressMaxLength() throws java.rmi.RemoteException
Address
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getEmailType() throws java.rmi.RemoteException
String
value of EmailType
EmailType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getEmailTypeState() throws java.rmi.RemoteException
EmailType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getEmailTypeMaxLength() throws java.rmi.RemoteException
EmailType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getEmailSubscriber() throws java.rmi.RemoteException, MdException
EmailSubscriber
EmailSubscriber
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 getPersons() throws java.rmi.RemoteException, MdException
Persons
Persons
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 getEmailSubscriber(boolean fGoToServer) throws java.rmi.RemoteException, MdException
EmailSubscriber
fGoToServer
- boolean Get the value from the server.
EmailSubscriber
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 getPersons(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Persons
fGoToServer
- boolean Get the value from the server.
Persons
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 setAddress(java.lang.String inAddress) throws java.rmi.RemoteException
Address
value and sets the state to MetadataState.LOCAL.
inAddress
- String
java.rmi.RemoteException
- If error communicating with remote object.void setAddress(java.lang.String inAddress, int state) throws java.rmi.RemoteException
Address
Metadata State.
inAddress
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAddressState(int state) throws java.rmi.RemoteException
Address
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setEmailType(java.lang.String inEmailType) throws java.rmi.RemoteException
EmailType
value and sets the state to MetadataState.LOCAL.
inEmailType
- String
java.rmi.RemoteException
- If error communicating with remote object.void setEmailType(java.lang.String inEmailType, int state) throws java.rmi.RemoteException
EmailType
Metadata State.
inEmailType
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setEmailTypeState(int state) throws java.rmi.RemoteException
EmailType
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setEmailSubscriber(AssociationList list) throws java.rmi.RemoteException
EmailSubscriber
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setEmailSubscriber(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setPersons(AssociationList list) throws java.rmi.RemoteException
Persons
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setPersons(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 |