public class ChangeRecordIDType extends Object implements Serializable
Java class for changeRecordID_type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="changeRecordID_type"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="nodeID" type="{urn:uddi-org:repl_v3}operatorNodeID_type"/> <element name="originatingUSN" type="{urn:uddi-org:repl_v3}USN_type" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
nodeID |
protected Long |
originatingUSN |
Constructor and Description |
---|
ChangeRecordIDType() |
ChangeRecordIDType(String node,
Long oUSN) |
Modifier and Type | Method and Description |
---|---|
String |
getNodeID()
Gets the value of the nodeID property.
|
Long |
getOriginatingUSN()
Gets the value of the originatingUSN property.
|
void |
setNodeID(String value)
Sets the value of the nodeID property.
|
void |
setOriginatingUSN(Long value)
Sets the value of the originatingUSN property.
|
public ChangeRecordIDType()
public ChangeRecordIDType(String node, Long oUSN)
node
- owning node of the item/source of requestoUSN
- Each node SHALL maintain a strictly increasing register known as its Originating Update Sequence Number (USN). An originating USN is assigned to a change record at its creation by a node. The originating USN SHALL NEVER decrease in value, even in the face of system crashes and restarts. UDDI nodes MUST NOT rely on an originating USN sequence increasing monotonically by a value of "1". Gaps in a node's originating USN sequence MUST be allowed for as they are likely to occur in the face of system crashes and restarts.
While processing changes to the Registry as a result of performing UDDI Replication, all replicated data MUST be assigned an additional unique and locally generated USN register value – a local USN.
The originating and local USN registers MUST be sufficiently large such that register rollover is not a concern. For this purpose, UDDI nodes MUST implement a USN of exactly 63 bits in size.
Note that it is semantically meaningless to compare USNs that have been generated on different nodes; only USNs generated on the same node may be meaningfully compared to each other.
NO change record MAY have a USN equal to 0 (zero).public String getNodeID()
String
public void setNodeID(String value)
value
- allowed object is String
public Long getOriginatingUSN()
Long
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.