|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface Location
This type represents a location that includes a type (is it a street address, or an office number), as well as address information (street, city, country).
Attributes of Location are:
Associations of Location 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(); Location myObject = (Location) factory.createComplexMetadataObject(objectStore, "Location_Object", MetadataObjects.LOCATION, "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_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_AREA_NAME
Constant used for the name of the Area attribute. |
static java.lang.String |
ATTRIBUTE_CITY_NAME
Constant used for the name of the City attribute. |
static java.lang.String |
ATTRIBUTE_COUNTRY_NAME
Constant used for the name of the Country attribute. |
static java.lang.String |
ATTRIBUTE_LOCATIONTYPE_NAME
Constant used for the name of the LocationType attribute. |
static java.lang.String |
ATTRIBUTE_POSTCODE_NAME
Constant used for the name of the PostCode attribute. |
| 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 | |
|---|---|
abstract java.lang.String |
getAddress()
Gets the String value of Address |
abstract int |
getAddressMaxLength()
Gets the maximum length of Address |
abstract int |
getAddressState()
Gets the Metadata State of Address |
abstract java.lang.String |
getArea()
Gets the String value of Area |
abstract int |
getAreaMaxLength()
Gets the maximum length of Area |
abstract int |
getAreaState()
Gets the Metadata State of Area |
abstract java.lang.String |
getCity()
Gets the String value of City |
abstract int |
getCityMaxLength()
Gets the maximum length of City |
abstract int |
getCityState()
Gets the Metadata State of City |
abstract java.lang.String |
getCountry()
Gets the String value of Country |
abstract int |
getCountryMaxLength()
Gets the maximum length of Country |
abstract int |
getCountryState()
Gets the Metadata State of Country |
abstract java.lang.String |
getLocationType()
Gets the String value of LocationType |
abstract int |
getLocationTypeMaxLength()
Gets the maximum length of LocationType |
abstract int |
getLocationTypeState()
Gets the Metadata State of LocationType |
abstract AssociationList |
getPersons()
Gets the Association list of Persons |
abstract AssociationList |
getPersons(boolean fGoToServer)
Gets the Associationlist of Persons |
abstract java.lang.String |
getPostCode()
Gets the String value of PostCode |
abstract int |
getPostCodeMaxLength()
Gets the maximum length of PostCode |
abstract int |
getPostCodeState()
Gets the Metadata State of PostCode |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
abstract void |
setAddress(java.lang.String inAddress)
Sets the Address value and sets the state to MetadataState.LOCAL. |
abstract void |
setAddress(java.lang.String inAddress,
int state)
Sets the Address Metadata State. |
abstract void |
setAddressState(int state)
Sets the Metadata State of Address. |
abstract void |
setArea(java.lang.String inArea)
Sets the Area value and sets the state to MetadataState.LOCAL. |
abstract void |
setArea(java.lang.String inArea,
int state)
Sets the Area Metadata State. |
abstract void |
setAreaState(int state)
Sets the Metadata State of Area. |
abstract void |
setCity(java.lang.String inCity)
Sets the City value and sets the state to MetadataState.LOCAL. |
abstract void |
setCity(java.lang.String inCity,
int state)
Sets the City Metadata State. |
abstract void |
setCityState(int state)
Sets the Metadata State of City. |
abstract void |
setCountry(java.lang.String inCountry)
Sets the Country value and sets the state to MetadataState.LOCAL. |
abstract void |
setCountry(java.lang.String inCountry,
int state)
Sets the Country Metadata State. |
abstract void |
setCountryState(int state)
Sets the Metadata State of Country. |
abstract void |
setLocationType(java.lang.String inLocationType)
Sets the LocationType value and sets the state to MetadataState.LOCAL. |
abstract void |
setLocationType(java.lang.String inLocationType,
int state)
Sets the LocationType Metadata State. |
abstract void |
setLocationTypeState(int state)
Sets the Metadata State of LocationType. |
abstract void |
setPersons(AssociationList list)
Sets the Persons list to be list. |
abstract void |
setPersons(AssociationList inObjects,
int state)
Sets the entire Persons list to match the passed in AssociationList, sets the state of the Persons |
abstract void |
setPostCode(java.lang.String inPostCode)
Sets the PostCode value and sets the state to MetadataState.LOCAL. |
abstract void |
setPostCode(java.lang.String inPostCode,
int state)
Sets the PostCode Metadata State. |
abstract void |
setPostCodeState(int state)
Sets the Metadata State of PostCode. |
| 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_LOCATIONTYPE_NAME
LocationType: The type of location, i.e. home address, office number, etc.
static final java.lang.String ATTRIBUTE_ADDRESS_NAME
Address: The address.
static final java.lang.String ATTRIBUTE_CITY_NAME
City: The city.
static final java.lang.String ATTRIBUTE_POSTCODE_NAME
PostCode: The postal code.
static final java.lang.String ATTRIBUTE_AREA_NAME
Area: A region or territory.
static final java.lang.String ATTRIBUTE_COUNTRY_NAME
Country: The country.
static final java.lang.String ASSOCIATION_PERSONS_NAME
Persons: *Unknown*
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface RootinitializeRequiredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
initializePredObjects in interface MdObjectBaseinitializePredObjects in interface RootinitializePredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getLocationType()
throws java.rmi.RemoteException
String value of LocationType
LocationType
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getLocationTypeState()
throws java.rmi.RemoteException
LocationType
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getLocationTypeMaxLength()
throws java.rmi.RemoteException
LocationType
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 getCity()
throws java.rmi.RemoteException
String value of City
City
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getCityState()
throws java.rmi.RemoteException
City
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getCityMaxLength()
throws java.rmi.RemoteException
City
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getPostCode()
throws java.rmi.RemoteException
String value of PostCode
PostCode
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getPostCodeState()
throws java.rmi.RemoteException
PostCode
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getPostCodeMaxLength()
throws java.rmi.RemoteException
PostCode
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getArea()
throws java.rmi.RemoteException
String value of Area
Area
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getAreaState()
throws java.rmi.RemoteException
Area
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getAreaMaxLength()
throws java.rmi.RemoteException
Area
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getCountry()
throws java.rmi.RemoteException
String value of Country
Country
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getCountryState()
throws java.rmi.RemoteException
Country
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getCountryMaxLength()
throws java.rmi.RemoteException
Country
java.rmi.RemoteException - If error connecting/communicating to/with remote 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 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 setLocationType(java.lang.String inLocationType)
throws java.rmi.RemoteException
LocationType value and sets the state to MetadataState.LOCAL.
inLocationType - String
java.rmi.RemoteException - If error communicating with remote object.
void setLocationType(java.lang.String inLocationType,
int state)
throws java.rmi.RemoteException
LocationType Metadata State.
inLocationType - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setLocationTypeState(int state)
throws java.rmi.RemoteException
LocationType.
state - int
java.rmi.RemoteException - If error communicating with remote 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 setCity(java.lang.String inCity)
throws java.rmi.RemoteException
City value and sets the state to MetadataState.LOCAL.
inCity - String
java.rmi.RemoteException - If error communicating with remote object.
void setCity(java.lang.String inCity,
int state)
throws java.rmi.RemoteException
City Metadata State.
inCity - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setCityState(int state)
throws java.rmi.RemoteException
City.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setPostCode(java.lang.String inPostCode)
throws java.rmi.RemoteException
PostCode value and sets the state to MetadataState.LOCAL.
inPostCode - String
java.rmi.RemoteException - If error communicating with remote object.
void setPostCode(java.lang.String inPostCode,
int state)
throws java.rmi.RemoteException
PostCode Metadata State.
inPostCode - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setPostCodeState(int state)
throws java.rmi.RemoteException
PostCode.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setArea(java.lang.String inArea)
throws java.rmi.RemoteException
Area value and sets the state to MetadataState.LOCAL.
inArea - String
java.rmi.RemoteException - If error communicating with remote object.
void setArea(java.lang.String inArea,
int state)
throws java.rmi.RemoteException
Area Metadata State.
inArea - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setAreaState(int state)
throws java.rmi.RemoteException
Area.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setCountry(java.lang.String inCountry)
throws java.rmi.RemoteException
Country value and sets the state to MetadataState.LOCAL.
inCountry - String
java.rmi.RemoteException - If error communicating with remote object.
void setCountry(java.lang.String inCountry,
int state)
throws java.rmi.RemoteException
Country Metadata State.
inCountry - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setCountryState(int state)
throws java.rmi.RemoteException
Country.
state - 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 | |||||||||||||