|
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.remotebuild.RBResource com.ibm.etools.iseries.remotebuild.RBQSYSResource com.ibm.etools.iseries.remotebuild.RBMember
public class RBMember
This class implements a source file member. The name is the base resource name. The base resource is an IFile. The model resource is an AbstractISeriesNativeMember. The parent node is always an RBSourceFile. There are no child nodes. The contents are always treated as text.
Field Summary | |
---|---|
static String |
Copyright
|
Fields inherited from class com.ibm.etools.iseries.remotebuild.RBResource |
---|
G_BINARYOBJECT, G_LIBRARY, G_MEMBER, G_PROJECT, G_SAVEFILE, G_SOURCEFILE, G_UNKNOWN, NS_LOCAL, NS_NETWORK, NS_QSYS, NS_UNKNOWN, RB_QUALIFIER |
Constructor Summary | |
---|---|
RBMember(AbstractISeriesNativeMember resource)
Constructs an RBMember from a model resource. |
|
RBMember(String name,
long localStamp,
long targetStamp)
Constructs an RBMember its component information. |
Method Summary | |
---|---|
RBStatus |
checkAuthorities(String[] authorities)
Checks the authorities of a remote resource that is the companion of the current resource. |
RBStatus |
checkContentsOn(RBSystem system)
Checks the contents on the remote system for conflict with this member. |
RBStatus |
checkName()
Checks the member name. |
RBStatus |
checkNameAndType()
Checks the source member name and type extension. |
RBStatus |
checkType()
Checks the source type. |
RBStatus |
createOn(RBSystem system)
Pushes a creation of a source file member to the target system from a file resource. |
boolean |
existsOn(RBSystem system)
Tests for existence of the member on the host system. |
List |
getAllProperties()
Returns a set of all the property names this resource. |
String |
getDescription()
|
int |
getGender()
Returns the gender of this resource. |
String |
getIFSName()
Returns the IFS name of this member. |
String |
getMemberName()
Returns the member name. |
Collection<String> |
getModifiedProperties(com.ibm.etools.iseries.projects.internal.snapshots.SnapshotRecord sr)
|
String |
getObjectName()
Returns the object name. |
IPath |
getProjectRelativePath()
Returns the project relative path of this resource. |
String |
getQSYSName()
Returns the name of this object in the QSYS name space. |
CLQualifiedName |
getQualifiedName()
Returns the fully-qualified system-relative object name for a resource in the QSYS namespace. |
String |
getShortKey()
Returns a key for this object in the context of its parent. |
String |
getSimpleObjectType()
Returns the simple object type for this resource. |
String |
getSnapshotType()
Returns the tag name for this resource. |
String |
getSourceType()
Returns the source type of the member. |
static String |
makeKey(String name)
Makes a key for this type. |
RBStatus |
pushContentsTo(RBSystem system)
Pushes the contents of a source file member to the target system from a file resource. |
RBStatus |
pushPropertiesTo(RBSystem system,
Collection properties)
Pushes the properties of a member to the target system. |
RBStatus |
pushSourceTypeTo(RBSystem system)
Pushes the source type of this resource to the target system. |
void |
setSourceType(String sourceType)
Sets the source type of this member. |
Methods inherited from class com.ibm.etools.iseries.remotebuild.RBQSYSResource |
---|
getLibraryName, getNameSpace, getObjectType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
Constructor Detail |
---|
public RBMember(AbstractISeriesNativeMember resource)
public RBMember(String name, long localStamp, long targetStamp)
Clients should only use when constructing resources from stored snapshots.
Method Detail |
---|
public static String makeKey(String name)
public int getGender()
getGender
in class RBResource
public String getSnapshotType()
Used when constructing snapshots. Should not be used directly by clients.
getSnapshotType
in class RBResource
public String getObjectName()
public CLQualifiedName getQualifiedName()
getQualifiedName
in class RBQSYSResource
public String getSimpleObjectType()
getSimpleObjectType
in class RBQSYSResource
public String getMemberName()
public String getSourceType()
getSourceType
in class RBResource
public void setSourceType(String sourceType)
setSourceType
in class RBResource
sourceType
- the source type of the resource.public IPath getProjectRelativePath()
getProjectRelativePath
in class RBResource
public String getIFSName()
getIFSName
in class RBResource
public String getQSYSName()
getQSYSName
in class RBResource
public String getShortKey()
getShortKey
in class RBQSYSResource
public RBStatus checkName()
checkName
in class RBResource
public RBStatus checkType()
public RBStatus checkNameAndType()
public boolean existsOn(RBSystem system)
existsOn
in class RBResource
public RBStatus createOn(RBSystem system)
createOn
in class RBResource
public RBStatus checkContentsOn(RBSystem system)
checkContentsOn
in class RBResource
public RBStatus pushContentsTo(RBSystem system)
pushContentsTo
in class RBResource
public RBStatus pushPropertiesTo(RBSystem system, Collection properties)
pushPropertiesTo
in class RBResource
public RBStatus checkAuthorities(String[] authorities)
RBResource
checkAuthorities
in class RBResource
public RBStatus pushSourceTypeTo(RBSystem system)
RBResource
pushSourceTypeTo
in class RBResource
public Collection<String> getModifiedProperties(com.ibm.etools.iseries.projects.internal.snapshots.SnapshotRecord sr)
getModifiedProperties
in class RBResource
public List getAllProperties()
RBResource
getAllProperties
in class RBResource
public String getDescription()
getDescription
in class RBResource
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |