|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Report
Represents the result of data being transformed into a report. The report has an association to a physical location, such as a SAS catalog entry or file.
Attributes of Report are:
Associations of Report 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(); Report myObject = (Report) factory.createComplexMetadataObject(objectStore, "Report_Object", MetadataObjects.REPORT, "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_FILEREFS_NAME
Constant used for the name of the FileRefs association. |
static java.lang.String |
ASSOCIATION_REPORTLOCATION_NAME
Constant used for the name of the ReportLocation association. |
static java.lang.String |
ATTRIBUTE_REPORTTYPE_NAME
Constant used for the name of the ReportType attribute. |
Fields inherited from interface com.sas.metadata.remote.Classifier |
---|
ASSOCIATION_SOURCECLASSIFIERMAPS_NAME, ASSOCIATION_TARGETCLASSIFIERMAPS_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 | |
---|---|
AssociationList |
getFileRefs()
Gets the Association list of FileRefs |
AssociationList |
getFileRefs(boolean fGoToServer)
Gets the Associationlist of FileRefs |
ContentLocation |
getReportLocation()
Gets the ContentLocation for ReportLocation |
AssociationList |
getReportLocations()
Gets the AssociationList of ReportLocations |
AssociationList |
getReportLocations(boolean fGoToServer)
Gets the Associationlist of ReportLocations |
java.lang.String |
getReportType()
Gets the String value of ReportType |
int |
getReportTypeMaxLength()
Gets the maximum length of ReportType |
int |
getReportTypeState()
Gets the Metadata State of ReportType |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: ReportLocation |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setFileRefs(AssociationList list)
Sets the FileRefs list to be list . |
void |
setFileRefs(AssociationList inObjects,
int state)
Sets the entire FileRefs list to match the passed in AssociationList, sets the state of the FileRefs |
void |
setReportLocation(ContentLocation inObject)
Sets the ReportLocations list 0th element to be inObject . |
void |
setReportLocations(AssociationList list)
Sets the ReportLocations list to be list . |
void |
setReportLocations(AssociationList list,
int state)
Sets the ReportLocations list to be list . |
void |
setReportType(java.lang.String inReportType)
Sets the ReportType value and sets the state to MetadataState.LOCAL. |
void |
setReportType(java.lang.String inReportType,
int state)
Sets the ReportType Metadata State. |
void |
setReportTypeState(int state)
Sets the Metadata State of ReportType . |
Methods inherited from interface com.sas.metadata.remote.Classifier |
---|
getSourceClassifierMaps, getSourceClassifierMaps, getTargetClassifierMaps, getTargetClassifierMaps, setSourceClassifierMaps, setSourceClassifierMaps, setTargetClassifierMaps, setTargetClassifierMaps |
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_REPORTTYPE_NAME
ReportType: ReportType
static final java.lang.String ASSOCIATION_REPORTLOCATION_NAME
ReportLocation: The location of this report.
static final java.lang.String ASSOCIATION_FILEREFS_NAME
FileRefs: The FileRefs that are used to generate this report.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface Classifier
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
ReportLocation
initializePredObjects
in interface Classifier
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 getReportType() throws java.rmi.RemoteException
String
value of ReportType
ReportType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getReportTypeState() throws java.rmi.RemoteException
ReportType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getReportTypeMaxLength() throws java.rmi.RemoteException
ReportType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getReportLocations() throws java.rmi.RemoteException, MdException
ReportLocations
ReportLocations
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
ContentLocation getReportLocation() throws java.rmi.RemoteException, MdException
ContentLocation
for ReportLocation
ContentLocation
( null
if not set) of ReportLocation
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 getFileRefs() throws java.rmi.RemoteException, MdException
FileRefs
FileRefs
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 getReportLocations(boolean fGoToServer) throws java.rmi.RemoteException, MdException
ReportLocations
fGoToServer
- boolean Get the value from the server.
ReportLocations
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 getFileRefs(boolean fGoToServer) throws java.rmi.RemoteException, MdException
FileRefs
fGoToServer
- boolean Get the value from the server.
FileRefs
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 setReportType(java.lang.String inReportType) throws java.rmi.RemoteException
ReportType
value and sets the state to MetadataState.LOCAL.
inReportType
- String
java.rmi.RemoteException
- If error communicating with remote object.void setReportType(java.lang.String inReportType, int state) throws java.rmi.RemoteException
ReportType
Metadata State.
inReportType
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setReportTypeState(int state) throws java.rmi.RemoteException
ReportType
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setReportLocations(AssociationList list) throws java.rmi.RemoteException
ReportLocations
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setReportLocations(AssociationList list, int state) throws java.rmi.RemoteException
ReportLocations
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setReportLocation(ContentLocation inObject) throws java.rmi.RemoteException
ReportLocations
list 0th element to be inObject
.
inObject
- ContentLocation
java.rmi.RemoteException
- If error communicating with remote object.void setFileRefs(AssociationList list) throws java.rmi.RemoteException
FileRefs
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setFileRefs(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 |