|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.figure8.join.core.EntityObject org.figure8.join.businessobjects.environment.AbstractResource org.figure8.join.businessobjects.environment.VersionedResource
public class VersionedResource
A Resource implementation that is updatable an in consequence may have different versions.
ResourceVersion
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
CATEGORY
The category information of the VersionedResource implementation of AbstractResource |
Constructor Summary | |
---|---|
VersionedResource()
Creates a new VersionedResource instance |
|
VersionedResource(java.lang.String name,
VersionedResourceType type)
Creates a new VersionedResource with mandatory attributes. |
Method Summary | |
---|---|
VersionedResourceUpdate |
getActiveVersionUpdate()
Get the most recent active VersionedResourceUpdate for this resource |
java.util.List |
getActiveVersionUpdates()
|
java.lang.String |
getCategory()
Return the category information on this resource. |
void |
setActiveVersionUpdate(VersionedResourceUpdate update)
|
void |
setActiveVersionUpdates(java.util.List mappings)
|
Methods inherited from class org.figure8.join.businessobjects.environment.AbstractResource |
---|
getCurrentMappings, getLogDirPath, getLogFilePath, getMachine, getName, getPhysicalEnvironments, getResourceType, setCurrentMappings, setLogDirPath, setLogFilePath, setMachine, setName, setResourceType |
Methods inherited from class org.figure8.join.core.EntityObject |
---|
clone, equals, getId, hashCode, isTransient |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CATEGORY
Constructor Detail |
---|
public VersionedResource()
public VersionedResource(java.lang.String name, VersionedResourceType type)
name
- The name of this new Resourcetype
- The type of this new versioned resource.Method Detail |
---|
public java.util.List getActiveVersionUpdates()
VersionedResourceUpdate
s that are active nowpublic void setActiveVersionUpdates(java.util.List mappings)
mappings
- The set of EnvironmentMapping
s that are active nowpublic VersionedResourceUpdate getActiveVersionUpdate()
public void setActiveVersionUpdate(VersionedResourceUpdate update)
update
- The VersionResourceUpdate to set as the active onepublic java.lang.String getCategory()
getCategory
in class AbstractResource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |