|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.projects.core.IBMiPropertiesType
public abstract class IBMiPropertiesType
This set of singletons describes the type of IBM i properties that a particular IBM i project IResource might have In particular it knows what sets of property keys are defined for that type and whether they are team shared or user shared. It also knows where to find the .properties files where they are persisted.
Field Summary | |
---|---|
static IBMiPropertiesType |
BINARY_OBJ
|
static IBMiPropertiesType |
MEMBER
|
static IBMiPropertiesType |
PROJECT
|
static IBMiPropertiesType |
SAVF
|
static IBMiPropertiesType |
SRC_PF
|
Constructor Summary | |
---|---|
IBMiPropertiesType()
|
Method Summary | |
---|---|
String |
getDefaultValue(QualifiedName key)
Returns the default value for the property named by this key. |
static IResource |
getProjectModelResource(IResource metadataFile)
Return the IResource of the iProject model object being
described by the given metadata properties file |
abstract IResource |
getProjectResourceFromPropertiesLocation(IResource metadataFile)
Map from a metadata resource for teamed shared properties to the described project resource |
PropertyDefinition |
getPropertyDefinition(QualifiedName key)
Returns the property definition for a named property. |
protected abstract String |
getResourceType()
|
abstract IPath |
getTeamPropertiesLocationFor(IPath resourceRelativePath)
Returns the relative path of the team properties location for the given relative path. |
abstract IPath |
getTeamPropertiesLocationFor(IResource resource)
Return the metadata resource for teamed shared properties given the described project resource |
boolean |
hasDefaultValue(QualifiedName key)
Tests whether the property named by this key has a declared default value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final IBMiPropertiesType PROJECT
public static final IBMiPropertiesType SRC_PF
public static final IBMiPropertiesType MEMBER
public static final IBMiPropertiesType SAVF
public static final IBMiPropertiesType BINARY_OBJ
Constructor Detail |
---|
public IBMiPropertiesType()
Method Detail |
---|
public static IResource getProjectModelResource(IResource metadataFile)
IResource
of the iProject model object being
described by the given metadata properties file
metadataFile
- the properties file
IResource
of the associated ISeriesResourcepublic abstract IPath getTeamPropertiesLocationFor(IResource resource)
public abstract IResource getProjectResourceFromPropertiesLocation(IResource metadataFile)
public abstract IPath getTeamPropertiesLocationFor(IPath resourceRelativePath)
resourceRelativePath
- the resource relative path.
protected abstract String getResourceType()
public String getDefaultValue(QualifiedName key)
key
- The key that names a property.
public boolean hasDefaultValue(QualifiedName key)
key
- The key that names a property.
public PropertyDefinition getPropertyDefinition(QualifiedName key)
key
- The name of the property.
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |