public class SubscriptionBeanImpl extends MaintainableBeanImpl implements SubscriptionBean
SubscriptionBean.SUBSCRIPTION_TYPE
WILDCARD
DEFAULT_VERSION
Constructor and Description |
---|
SubscriptionBeanImpl(SubscriptionMutableBean mutableBean) |
SubscriptionBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.registry.SubscriptionType subscription) |
Modifier and Type | Method and Description |
---|---|
boolean |
deepEquals(SDMXBean bean,
boolean includeFinalProperties)
Returns true if this SdmxBean equals the given bean in every respect (except for the validTo property of a maintainable artefact, this is not taken into consideration)
This method calls deepEquals on any SdmxBean composites.
|
java.lang.String |
getAgencyId()
Returns the agency id that is responsible for maintaining this maintainable artifact
|
java.util.List<java.lang.String> |
getHTTPPostTo()
Returns a list of HTTP addresses to POST any notifications to
|
java.util.List<java.lang.String> |
getMailTo()
Returns a list of email addresses to mail any notifications to
|
SubscriptionMutableBean |
getMutableInstance()
Returns a representation of itself in a bean which can be modified, modifications to the mutable bean
are not reflected in the instance of the MaintainableBean.
|
CrossReferenceBean |
getOwner()
Returns a reference to the owner of this subscription
|
java.util.List<StructureReferenceBean> |
getReferences()
Returns a list of structures that this subscription is subscribing to,
or in the case that this is subscribing to a provision or registration, returns the structure
reference that it is subscribing to the provision or registration by.
|
MaintainableBean |
getStub(java.net.URL actualLocation,
boolean isServiceUrl)
Returns a stub reference of itself.
|
SubscriptionBean.SUBSCRIPTION_TYPE |
getSubscriptionType()
Returns if this is a subscription for a structure event a provision event or a registration event
|
java.lang.String |
getUrn()
Returns the URN for this component.
|
addAnnotations, compareTo, getEndDate, getServiceURL, getStartDate, getStructureURL, getVersion, isExternalReference, isFinal
getAllTextTypes, getDescription, getDescriptions, getName, getNames
asReference, equals, getFullIdPath, getId, getUri, hashCode, toString
getAnnotations, getAnnotationsByTitle, getAnnotationsByType, hasAnnotationType
getIdentifiableComposites, getIdentifiableParent, getMaintainableParent, getParent, getStructureType
getComposites, getComposites, getCrossReferences, getParent
addAnnotations, getEndDate, getServiceURL, getStartDate, getStructureURL, getVersion, isExternalReference, isFinal
getDescription, getDescriptions, getName, getNames
asReference, getAllTextTypes, getFullIdPath, getId, getUri
getAnnotations, getAnnotationsByTitle, getAnnotationsByType, hasAnnotationType
getIdentifiableComposites, getIdentifiableParent, getMaintainableParent, getParent
getComposites, getComposites, getCrossReferences, getParent, getStructureType
public SubscriptionBeanImpl(SubscriptionMutableBean mutableBean)
public SubscriptionBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.registry.SubscriptionType subscription)
public boolean deepEquals(SDMXBean bean, boolean includeFinalProperties)
SDMXBean
deepEquals
in interface SDMXBean
deepEquals
in class SDMXBeanImpl
bean
- if null, then false will be returnedincludeFinalProperties
- - if true, then this method will check every single property from this bean is
equal to the passed in bean. If false, then this method will ignore the following properties:
public MaintainableBean getStub(java.net.URL actualLocation, boolean isServiceUrl)
MaintainableBean
getStub
in interface MaintainableBean
actualLocation
- the URL indicating where the full structure can be returned fromisServiceUrl
- if true this URL will be present on the serviceURL attribute, otherwise it will be treated as a structureURL attributepublic SubscriptionMutableBean getMutableInstance()
SubscriptionBean
getMutableInstance
in interface MaintainableBean
getMutableInstance
in interface SubscriptionBean
public CrossReferenceBean getOwner()
SubscriptionBean
getOwner
in interface SubscriptionBean
public java.lang.String getAgencyId()
MaintainableBean
getAgencyId
in interface MaintainableBean
getAgencyId
in class MaintainableBeanImpl
public java.util.List<java.lang.String> getMailTo()
SubscriptionBean
getMailTo
in interface SubscriptionBean
public java.util.List<java.lang.String> getHTTPPostTo()
SubscriptionBean
getHTTPPostTo
in interface SubscriptionBean
public java.util.List<StructureReferenceBean> getReferences()
SubscriptionBean
getReferences
in interface SubscriptionBean
public SubscriptionBean.SUBSCRIPTION_TYPE getSubscriptionType()
SubscriptionBean
getSubscriptionType
in interface SubscriptionBean
public java.lang.String getUrn()
IdentifiableBean
getUrn
in interface IdentifiableBean
getUrn
in class IdentifiableBeanImpl