|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.repository.PortProperties
This class represents a MDM port.
| Field Summary | |
static int |
AUTOMATIC_PROCESSING_TYPE
|
static int |
CONTINUOUS_PROCESSING_INTERVAL
|
static int |
DAILY_PROCESSING_INTERVAL
|
static int |
HOURLY_PROCESSING_INTERVAL
|
static int |
INBOUND
Indicates an inbound port. |
static int |
MANUAL_PROCESSING_TYPE
|
static int |
OUTBOUND
Indicates an outbound port. |
static int |
WEEKLY_PROCESSING_INTERVAL
|
| Constructor Summary | |
PortProperties(PortId portId,
RemoteSystemId remoteSystemId,
MultilingualString name,
String code,
int type)
Constructor with the specified parameters. |
|
PortProperties(PortId portId,
RemoteSystemId remoteSystemId,
MultilingualString name,
String code,
int type,
boolean isBlockOnStructuralException)
Constructor with the specified parameters. |
|
PortProperties(PortId portId,
RemoteSystemId remoteSystemId,
MultilingualString name,
String code,
int type,
boolean isBlockOnStructuralException,
boolean isActive)
Constructor with the specified parameters. |
|
PortProperties(PortProperties other)
Copy constructor. |
|
| Method Summary | |
Object |
clone()
|
boolean |
equals(Object obj)
|
String |
getCode()
Returns a string identifier for a named repository object. |
int |
getFileAggregationCount()
Returns the file aggregation count. |
PortId |
getId()
Returns the port Id. |
MultilingualString |
getName()
Returns the port name. |
Calendar |
getNextSyndicationTime()
Returns the next syndication time in GMT. |
PortMapId |
getPortMapId()
Returns the port map Id. |
int |
getProcessingInternval()
Returns the processing interval. |
int |
getProcessingType()
Returns the processing type. |
RemoteSystemId |
getRemoteSystemId()
Returns the remote system Id. |
SourceFormat |
getSourceFormat()
Returns the source format. |
int |
getType()
Returns the port type, inbound or outbound |
String |
getTypeName()
Returns the port type as a string. |
static String |
getTypeName(int type)
Returns the port type as a string. |
int |
hashCode()
|
boolean |
isActive()
Indicates if the port is active |
boolean |
isBlockOnStructuralException()
Indicates the port is block when there is a structural exception, otherwise don't block the port. |
void |
setBlockOnStructuralException(boolean isBlockOnStructuralException)
Sets whether the port is block when there is a structural exception, otherwise don't block the port. |
void |
setCode(String code)
|
void |
setFileAggregationCount(int count)
Sets the file aggregation count. |
void |
setId(PortId id)
Sets the port Id. |
void |
setIsActive(boolean isActive)
Sets whether the port is active |
void |
setName(MultilingualString name)
|
void |
setNextSyndicationTime(Calendar time)
Sets the next syndication time in GMT. |
void |
setPortMapId(PortMapId portMapId)
Sets the port map Id |
void |
setProcessingInternval(int processingInterval)
Sets the processing interval. |
void |
setProcessingType(int processingType)
Sets the processing type. |
void |
setRemoteSystemId(RemoteSystemId remoteSystemId)
|
void |
setSourceFormat(SourceFormat sourceFormat)
Sets the source format. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int INBOUND
getType(),
Constant Field Valuespublic static final int OUTBOUND
getType(),
Constant Field Valuespublic static final int AUTOMATIC_PROCESSING_TYPE
public static final int MANUAL_PROCESSING_TYPE
public static final int CONTINUOUS_PROCESSING_INTERVAL
public static final int HOURLY_PROCESSING_INTERVAL
public static final int DAILY_PROCESSING_INTERVAL
public static final int WEEKLY_PROCESSING_INTERVAL
| Constructor Detail |
public PortProperties(PortId portId,
RemoteSystemId remoteSystemId,
MultilingualString name,
String code,
int type)
portId - a port IdremoteSystemId - a remote system Idname - the port namecode - the coding port nametype - port type
public PortProperties(PortId portId,
RemoteSystemId remoteSystemId,
MultilingualString name,
String code,
int type,
boolean isBlockOnStructuralException)
portId - a port IdremoteSystemId - a remote system Idname - the port namecode - the coding port nametype - port typeisBlockOnStructuralException - flag indicating to block or not
public PortProperties(PortId portId,
RemoteSystemId remoteSystemId,
MultilingualString name,
String code,
int type,
boolean isBlockOnStructuralException,
boolean isActive)
portId - a port IdremoteSystemId - a remote system Idname - the port namecode - the coding port nametype - port typeisBlockOnStructuralException - flag indicating to block or notisActive - flag indicating is the port activepublic PortProperties(PortProperties other)
PortProperties object.
other - object to copy| Method Detail |
public String getCode()
NamedRepositoryItem
getCode in interface NamedRepositoryItempublic void setCode(String code)
code - public MultilingualString getName()
public void setName(MultilingualString name)
name - public PortId getId()
public void setId(PortId id)
id - port Idpublic RemoteSystemId getRemoteSystemId()
public void setRemoteSystemId(RemoteSystemId remoteSystemId)
remoteSystemId - public int getType()
INBOUND,
OUTBOUNDpublic String getTypeName()
public static String getTypeName(int type)
type - the port type
public boolean isBlockOnStructuralException()
true to block, otherwise falsepublic void setBlockOnStructuralException(boolean isBlockOnStructuralException)
isBlockOnStructuralException - public boolean isActive()
true if active, otherwise falsepublic void setIsActive(boolean isActive)
isActive - public SourceFormat getSourceFormat()
public void setSourceFormat(SourceFormat sourceFormat)
sourceFormat - a source formatDelimitedTextSourceFormat,
FixedTextSourceFormat,
XMLSchemaSourceFormatpublic PortMapId getPortMapId()
public void setPortMapId(PortMapId portMapId)
portMapId - a port map Idpublic int getProcessingType()
public void setProcessingType(int processingType)
AUTOMATIC_PROCESSING_TYPE.
processingType - typeAUTOMATIC_PROCESSING_TYPE,
MANUAL_PROCESSING_TYPEpublic int getProcessingInternval()
public void setProcessingInternval(int processingInterval)
OUTBOUND ports and the processing type is automatic.
The default is CONTINUOUS_PROCESSING_INTERVAL.
processingInterval - CONTINUOUS_PROCESSING_INTERVAL,
HOURLY_PROCESSING_INTERVAL,
DAILY_PROCESSING_INTERVAL,
WEEKLY_PROCESSING_INTERVAL,
setProcessingType(int)public int getFileAggregationCount()
public void setFileAggregationCount(int count)
INBOUND ports and for file-based source format.
count - a countSourceFormatpublic Calendar getNextSyndicationTime()
public void setNextSyndicationTime(Calendar time)
time - a GMT timepublic int hashCode()
public boolean equals(Object obj)
public String toString()
public Object clone()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright 2004-2007 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.