public class IdentifiableRefBeanImpl extends java.lang.Object implements IdentifiableRefBean
Constructor and Description |
---|
IdentifiableRefBeanImpl() |
IdentifiableRefBeanImpl(StructureReferenceBean maintainableParent,
java.util.Collection<java.lang.String> ids,
SDMX_STRUCTURE_TYPE targetStructureType) |
IdentifiableRefBeanImpl(StructureReferenceBean maintainableParent,
java.lang.String id,
SDMX_STRUCTURE_TYPE targetStructureType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
IdentifiableRefBean |
getChildReference()
Returns a reference to the child identifiable artifact that is being referenced.
|
java.lang.String |
getId()
Returns the id of the identifiable that is being referenced (at this level of the referencing hierarchy)
|
IdentifiableBean |
getMatch(IdentifiableBean reference)
Returns the matched identifiable bean, from the given identifiable - returns null if no match is found
|
IdentifiableRefBean |
getParentIdentifiableReference()
Returns a reference to the parent identifiable artifact (not maintainable) that this identifiable
artifact is a child of, returns null if the identifiable artifact has no parent identifiable artifact
|
StructureReferenceBean |
getParentMaintainableReferece()
Returns a reference to the parent maintainable that this identifiable is a child of, this will never be null
|
SDMX_STRUCTURE_TYPE |
getStructureType()
Returns the identifiable structure that is being referenced (at this level of the referencing hierarchy)
|
int |
hashCode() |
void |
setChildReference(IdentifiableRefBean ref) |
void |
setId(java.lang.String id) |
void |
setStructureType(SDMX_STRUCTURE_TYPE structureType) |
java.lang.String |
toString() |
public IdentifiableRefBeanImpl()
public IdentifiableRefBeanImpl(StructureReferenceBean maintainableParent, java.lang.String id, SDMX_STRUCTURE_TYPE targetStructureType)
public IdentifiableRefBeanImpl(StructureReferenceBean maintainableParent, java.util.Collection<java.lang.String> ids, SDMX_STRUCTURE_TYPE targetStructureType)
public java.lang.String getId()
IdentifiableRefBean
getId
in interface IdentifiableRefBean
public void setId(java.lang.String id)
public SDMX_STRUCTURE_TYPE getStructureType()
IdentifiableRefBean
getStructureType
in interface IdentifiableRefBean
public void setStructureType(SDMX_STRUCTURE_TYPE structureType)
public IdentifiableRefBean getChildReference()
IdentifiableRefBean
getChildReference
in interface IdentifiableRefBean
public void setChildReference(IdentifiableRefBean ref)
public IdentifiableRefBean getParentIdentifiableReference()
IdentifiableRefBean
getParentIdentifiableReference
in interface IdentifiableRefBean
public StructureReferenceBean getParentMaintainableReferece()
IdentifiableRefBean
getParentMaintainableReferece
in interface IdentifiableRefBean
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public IdentifiableBean getMatch(IdentifiableBean reference)
IdentifiableRefBean
getMatch
in interface IdentifiableRefBean
public java.lang.String toString()
toString
in class java.lang.Object