|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.dax.CatalogType
public class CatalogType
Abstract Type for RC and TC Sections of the DAX. Extended by Executable and File
Executable,
File| Field Summary | |
|---|---|
protected LogManager |
mLogger
|
protected List<MetaData> |
mMetadata
|
protected List<PFN> |
mPFNs
|
protected List<Profile> |
mProfiles
|
| Constructor Summary | |
|---|---|
protected |
CatalogType()
|
protected |
CatalogType(CatalogType c)
Copy Constructor |
| Method Summary | |
|---|---|
CatalogType |
addMetaData(List<MetaData> metadata)
Add a List of MetaData objects to the Catalog entry object |
CatalogType |
addMetaData(MetaData metadata)
Add a MetaData object for the Catalog object |
CatalogType |
addMetaData(String type,
String key,
String value)
Add a Metadata entry for the Catalog object |
CatalogType |
addPhysicalFile(PFN pfn)
Add a PFN object to the Catalog |
CatalogType |
addPhysicalFile(String url)
Add a pfn url to the Catalog |
CatalogType |
addPhysicalFile(String url,
String site)
Add a PFN url and a site id to the Catalog |
CatalogType |
addPhysicalFiles(List<PFN> pfns)
Add a list of PFN objects to the Catalog |
CatalogType |
addProfile(Profile.NAMESPACE namespace,
String key,
String value)
Add a profile to the catalog entry |
CatalogType |
addProfile(String namespace,
String key,
String value)
Add a profile to the catalog entry |
CatalogType |
addProfiles(List<Profile> profiles)
Add a List of profile objects to this Catalog entry |
CatalogType |
addProfiles(Profile profile)
Add a Profile object to this Catalog entry |
List<MetaData> |
getMetaData()
Returns the List of MetaData objects associated with this Catalog entry object |
List<PFN> |
getPhysicalFiles()
Returns a List of PFN objects associated with this Catalog entry |
List<Profile> |
getProfiles()
Return the List of Profile objects associated with this Catalog entry |
void |
toXML(XMLWriter writer)
Write the XML representation of this object |
void |
toXML(XMLWriter writer,
int indent)
Write the XML representation of this object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<Profile> mProfiles
protected List<MetaData> mMetadata
protected List<PFN> mPFNs
protected LogManager mLogger
| Constructor Detail |
|---|
protected CatalogType()
protected CatalogType(CatalogType c)
c - | Method Detail |
|---|
public CatalogType addPhysicalFile(String url)
url -
public CatalogType addPhysicalFile(String url,
String site)
url - site -
public CatalogType addPhysicalFile(PFN pfn)
pfn -
PFNpublic CatalogType addPhysicalFiles(List<PFN> pfns)
pfns -
PFNpublic List<PFN> getPhysicalFiles()
PFN
public CatalogType addMetaData(String type,
String key,
String value)
type - String type of metadatakey - String key for the metadata entryvalue - String value for the metadata entry
public CatalogType addMetaData(MetaData metadata)
MetaData object for the Catalog object
metadata -
MetaDatapublic CatalogType addMetaData(List<MetaData> metadata)
MetaData objects to the Catalog entry object
metadata -
MetaDatapublic List<MetaData> getMetaData()
MetaData
public CatalogType addProfile(String namespace,
String key,
String value)
namespace - String Namespace of the profile. See Profile.NAMESPACE for a list of valid namespaceskey - String Key of the profilevalue - String Value of the profile
Profile.NAMESPACE
public CatalogType addProfile(Profile.NAMESPACE namespace,
String key,
String value)
namespace - Profile.NAMESPACE Namespace of the profilekey - String Key of the profilevalue - String Value of the profile
Profile.NAMESPACEpublic CatalogType addProfiles(List<Profile> profiles)
profiles - List of Profile objects
Profilepublic CatalogType addProfiles(Profile profile)
profile -
Profilepublic List<Profile> getProfiles()
Profile objects associated with this Catalog entry
Profilepublic void toXML(XMLWriter writer)
writer - XMLWriter
public void toXML(XMLWriter writer,
int indent)
writer - indent - XMLwriter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||