SAP NetWeaver '04

com.sapportals.wcm.service.relation.operands
Class StringOperandType

[contained in: com.sap.netweaver.bc.rf.service.par - bc.rf.global.service.relation_api.jar]
java.lang.Object
  |
  +--com.sapportals.wcm.service.relation.operands.StringOperandType
All Implemented Interfaces:
IRelationOperandType

public class StringOperandType
extends java.lang.Object
implements IRelationOperandType

IRelationOperandType implementation for String s.


Constructor Summary
StringOperandType()
          Create a String operand type.
 
Method Summary
 boolean check(IRelationOperand operand)
          Check, if a given operand belongs to this type.
 boolean equals(java.lang.Object object)
           
 IRelationOperand getOperand(java.lang.Object object)
          Create the proper operand for a given object, if it belongs to this type.
 IRelationOperand getOperand(java.lang.String id, IResourceContext context)
          Get the operand for a given id and context.
 boolean isChangeTrackingSupported()
          Check, if this operand type supports tracking of object renaming.
 boolean isCopyTrackingSupported()
          Check, if this operand type supports tracking of object copy.
 boolean isDeleteTrackingSupported()
          Check, if this operand type supports tracking of object deletion.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringOperandType

public StringOperandType()
Create a String operand type.
Method Detail

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

isDeleteTrackingSupported

public boolean isDeleteTrackingSupported()
Description copied from interface: IRelationOperandType
Check, if this operand type supports tracking of object deletion.
Specified by:
isDeleteTrackingSupported in interface IRelationOperandType
Following copied from interface: com.sapportals.wcm.service.relation.IRelationOperandType
Returns:
a boolean true , if this operand type supports the tracking of deletes for objects of this type.

isChangeTrackingSupported

public boolean isChangeTrackingSupported()
Description copied from interface: IRelationOperandType
Check, if this operand type supports tracking of object renaming.
Specified by:
isChangeTrackingSupported in interface IRelationOperandType
Following copied from interface: com.sapportals.wcm.service.relation.IRelationOperandType
Returns:
a boolean true , if this operand type supports the tracking of rename or move for objects of this type.

isCopyTrackingSupported

public boolean isCopyTrackingSupported()
Description copied from interface: IRelationOperandType
Check, if this operand type supports tracking of object copy.
Specified by:
isCopyTrackingSupported in interface IRelationOperandType
Following copied from interface: com.sapportals.wcm.service.relation.IRelationOperandType
Returns:
a boolean true , if this operand type supports the tracking of copy for objects of this type.

check

public boolean check(IRelationOperand operand)
              throws ResourceException
Description copied from interface: IRelationOperandType
Check, if a given operand belongs to this type.
Specified by:
check in interface IRelationOperandType
Following copied from interface: com.sapportals.wcm.service.relation.IRelationOperandType
Parameters:
operand - the IRelationOperand which should be checked for compatibility with this type.
Returns:
a boolean true , if the operand is compatible with this type.
Throws:
ResourceException - Exception raised in failure situation
ResourceException - if there was an error while retrieving the operand's type.

getOperand

public IRelationOperand getOperand(java.lang.String id,
                                   IResourceContext context)
                            throws InvalidArgumentException
Description copied from interface: IRelationOperandType
Get the operand for a given id and context.
Specified by:
getOperand in interface IRelationOperandType
Following copied from interface: com.sapportals.wcm.service.relation.IRelationOperandType
Parameters:
id - the String with the unique id of the operand to get.
context - the IResouceContext to use for retrieving the operand.
Returns:
the IRelationOperand for the given id.
Throws:
InvalidArgumentException - Exception raised in failure situation
ResourceException - Exception raised in failure situation
InvalidArgumentException - if the id is null .
ResourceException - if there was an error while retrieving the operand.

getOperand

public IRelationOperand getOperand(java.lang.Object object)
                            throws InvalidArgumentException
Description copied from interface: IRelationOperandType
Create the proper operand for a given object, if it belongs to this type.
Specified by:
getOperand in interface IRelationOperandType
Following copied from interface: com.sapportals.wcm.service.relation.IRelationOperandType
Parameters:
object - TBD: Description of the incoming method parameter
Returns:
the IRelationOperand for the given object.
Throws:
InvalidArgumentException - Exception raised in failure situation
ResourceException - Exception raised in failure situation
InvalidArgumentException - if the given object is not compatible with this type or if it is null .
ResourceException - if there was an error while retrieving the operand.

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.