public class Couple
extends java.lang.Object
<couple>
xml element.限定符和类型 | 字段和说明 |
---|---|
private int |
component1Id
ID referencing first component
|
private int |
component2Id
ID referencing second component
|
private java.util.List<TransientCouple> |
transientCouples |
构造器和说明 |
---|
Couple(int component1Id,
int component2Id,
java.util.List<TransientCouple> transientCouples) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getComponent1Id() |
int |
getComponent2Id() |
int |
getComponentIdForComponentRef(int componentRef)
Returns the component id for component referenced by componentRef property of TransientCouple.
|
java.util.List<TransientCouple> |
getTransientCouples() |
int |
hashCode() |
void |
setTransientCouples(java.util.List<TransientCouple> transientCouples) |
private int component1Id
private int component2Id
private java.util.List<TransientCouple> transientCouples
public Couple(int component1Id, int component2Id, java.util.List<TransientCouple> transientCouples)
public int getComponent1Id()
public int getComponent2Id()
public int getComponentIdForComponentRef(int componentRef)
componentRef
- TransientCouple.sourceComponentRef
public java.util.List<TransientCouple> getTransientCouples()
public void setTransientCouples(java.util.List<TransientCouple> transientCouples)
public int hashCode()
hashCode
在类中 java.lang.Object
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object