|
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.Objectcom.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 RBResourcepublic String getSnapshotType()
Used when constructing snapshots. Should not be used directly by clients.
getSnapshotType in class RBResourcepublic String getObjectName()
public CLQualifiedName getQualifiedName()
getQualifiedName in class RBQSYSResourcepublic String getSimpleObjectType()
getSimpleObjectType in class RBQSYSResourcepublic String getMemberName()
public String getSourceType()
getSourceType in class RBResourcepublic void setSourceType(String sourceType)
setSourceType in class RBResourcesourceType - the source type of the resource.public IPath getProjectRelativePath()
getProjectRelativePath in class RBResourcepublic String getIFSName()
getIFSName in class RBResourcepublic String getQSYSName()
getQSYSName in class RBResourcepublic String getShortKey()
getShortKey in class RBQSYSResourcepublic RBStatus checkName()
checkName in class RBResourcepublic RBStatus checkType()
public RBStatus checkNameAndType()
public boolean existsOn(RBSystem system)
existsOn in class RBResourcepublic RBStatus createOn(RBSystem system)
createOn in class RBResourcepublic RBStatus checkContentsOn(RBSystem system)
checkContentsOn in class RBResourcepublic RBStatus pushContentsTo(RBSystem system)
pushContentsTo in class RBResource
public RBStatus pushPropertiesTo(RBSystem system,
Collection properties)
pushPropertiesTo in class RBResourcepublic RBStatus checkAuthorities(String[] authorities)
RBResource
checkAuthorities in class RBResourcepublic RBStatus pushSourceTypeTo(RBSystem system)
RBResource
pushSourceTypeTo in class RBResourcepublic Collection<String> getModifiedProperties(com.ibm.etools.iseries.projects.internal.snapshots.SnapshotRecord sr)
getModifiedProperties in class RBResourcepublic List getAllProperties()
RBResource
getAllProperties in class RBResourcepublic 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 | |||||||||