|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArchiveEntry
One of several metadata types used to describe the physical location of some form of content. ArchiveEntry describes a unit of content in an archive file.
Attributes of ArchiveEntry are:
Associations of ArchiveEntry 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(); ArchiveEntry myObject = (ArchiveEntry) factory.createComplexMetadataObject(objectStore, "ArchiveEntry_Object", MetadataObjects.ARCHIVEENTRY, "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_OWNINGARCHIVE_NAME
Constant used for the name of the OwningArchive association. |
static java.lang.String |
ATTRIBUTE_ENTRYNAME_NAME
Constant used for the name of the EntryName attribute. |
static java.lang.String |
ATTRIBUTE_PATH_NAME
Constant used for the name of the Path attribute. |
Fields inherited from interface com.sas.metadata.remote.Text |
---|
ASSOCIATION_ASSOCIATEDPROPERTY_NAME, ASSOCIATION_ASSOCIATEDQUERYCLAUSE_NAME, ASSOCIATION_ASSOCIATEDTRAINEDRESULT_NAME, ASSOCIATION_ASSOCIATEDTRANSFORMATION_NAME, ASSOCIATION_ASSOCIATEDTYPE_NAME, ASSOCIATION_TARGETS_NAME, ATTRIBUTE_TEXTROLE_NAME, ATTRIBUTE_TEXTTYPE_NAME |
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 |
getEntryName()
Gets the String value of EntryName |
int |
getEntryNameMaxLength()
Gets the maximum length of EntryName |
int |
getEntryNameState()
Gets the Metadata State of EntryName |
ArchiveFile |
getOwningArchive()
Gets the ArchiveFile for OwningArchive |
AssociationList |
getOwningArchives()
Gets the AssociationList of OwningArchives |
AssociationList |
getOwningArchives(boolean fGoToServer)
Gets the Associationlist of OwningArchives |
java.lang.String |
getPath()
Gets the String value of Path |
int |
getPathMaxLength()
Gets the maximum length of Path |
int |
getPathState()
Gets the Metadata State of Path |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: OwningArchive |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: OwningArchive |
void |
setEntryName(java.lang.String inEntryName)
Sets the EntryName value and sets the state to MetadataState.LOCAL. |
void |
setEntryName(java.lang.String inEntryName,
int state)
Sets the EntryName Metadata State. |
void |
setEntryNameState(int state)
Sets the Metadata State of EntryName . |
void |
setOwningArchive(ArchiveFile inObject)
Sets the OwningArchives list 0th element to be inObject . |
void |
setOwningArchives(AssociationList list)
Sets the OwningArchives list to be list . |
void |
setOwningArchives(AssociationList list,
int state)
Sets the OwningArchives list to be list . |
void |
setPath(java.lang.String inPath)
Sets the Path value and sets the state to MetadataState.LOCAL. |
void |
setPath(java.lang.String inPath,
int state)
Sets the Path Metadata State. |
void |
setPathState(int state)
Sets the Metadata State of Path . |
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_ENTRYNAME_NAME
EntryName: The name of the entry in the archive file.
static final java.lang.String ATTRIBUTE_PATH_NAME
Path: This is the path name stored in the archive file for this entry.
static final java.lang.String ASSOCIATION_OWNINGARCHIVE_NAME
OwningArchive: The archive file that contains this entry
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
OwningArchive
initializeRequiredObjects
in interface ContentLocation
initializeRequiredObjects
in interface DeployedDataPackage
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface PrimaryType
initializeRequiredObjects
in interface Root
initializeRequiredObjects
in interface Text
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
OwningArchive
initializePredObjects
in interface ContentLocation
initializePredObjects
in interface DeployedDataPackage
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
initializePredObjects
in interface Text
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getEntryName() throws java.rmi.RemoteException
String
value of EntryName
EntryName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getEntryNameState() throws java.rmi.RemoteException
EntryName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getEntryNameMaxLength() throws java.rmi.RemoteException
EntryName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getPath() throws java.rmi.RemoteException
String
value of Path
Path
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getPathState() throws java.rmi.RemoteException
Path
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getPathMaxLength() throws java.rmi.RemoteException
Path
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getOwningArchives() throws java.rmi.RemoteException, MdException
OwningArchives
OwningArchives
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
ArchiveFile getOwningArchive() throws java.rmi.RemoteException, MdException
ArchiveFile
for OwningArchive
ArchiveFile
( null
if not set) of OwningArchive
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 getOwningArchives(boolean fGoToServer) throws java.rmi.RemoteException, MdException
OwningArchives
fGoToServer
- boolean Get the value from the server.
OwningArchives
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 setEntryName(java.lang.String inEntryName) throws java.rmi.RemoteException
EntryName
value and sets the state to MetadataState.LOCAL.
inEntryName
- String
java.rmi.RemoteException
- If error communicating with remote object.void setEntryName(java.lang.String inEntryName, int state) throws java.rmi.RemoteException
EntryName
Metadata State.
inEntryName
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setEntryNameState(int state) throws java.rmi.RemoteException
EntryName
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setPath(java.lang.String inPath) throws java.rmi.RemoteException
Path
value and sets the state to MetadataState.LOCAL.
inPath
- String
java.rmi.RemoteException
- If error communicating with remote object.void setPath(java.lang.String inPath, int state) throws java.rmi.RemoteException
Path
Metadata State.
inPath
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setPathState(int state) throws java.rmi.RemoteException
Path
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setOwningArchives(AssociationList list) throws java.rmi.RemoteException
OwningArchives
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setOwningArchives(AssociationList list, int state) throws java.rmi.RemoteException
OwningArchives
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setOwningArchive(ArchiveFile inObject) throws java.rmi.RemoteException
OwningArchives
list 0th element to be inObject
.
inObject
- ArchiveFile
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 |