public class RegistryPackageTypeHelper extends Object
Constructor and Description |
---|
RegistryPackageTypeHelper() |
RegistryPackageTypeHelper(RegistryPackageType registryPackage) |
Modifier and Type | Method and Description |
---|---|
<T extends RegistryObjectType> |
getAssociatedObjects(RegistryObjectListType registryObjectList,
String id,
Class<T> type)
This is a convenience method that returns all Objects associated with the provided id extracted
from the provided RegistryObjectList
|
<T extends RegistryObjectType> |
getAssociatedObjects(RegistryPackageType registryPackage,
String id,
Class<T> type)
This is a convenience method that returns all Objects associated with the provided id extracted
from the provided RegistryPackageType
|
<T extends RegistryObjectType> |
getAssociatedObjects(String id,
Class<T> type)
This is a convenience method that returns all Objects associated with the provided id extracted
from this class's RegistryPackageType
|
List<AssociationType1> |
getAssociations()
This is a convenience method that returns the list of AssociationTypes extracted from this
class's RegistryPackageType
|
List<AssociationType1> |
getAssociations(RegistryObjectListType registryObjectList)
This is a convenience method that returns all of the AssociationTypes found in the provided
RegistryObjectListType
|
List<AssociationType1> |
getAssociations(RegistryPackageType registryPackage)
This is a convenience method that returns all of the AssociationTypes found in the provided
RegistryPackageType
|
List<ServiceBindingType> |
getBindingTypes()
This is a convenience method that returns the list of ServiceBindingTypes extracted from this
class's RegistryPackageType
|
List<ServiceBindingType> |
getBindingTypes(RegistryObjectListType registryObjectList)
This is a convenience method that returns all of the ServiceBindingTypes found in the provided
RegistryObjectListType
|
List<ServiceBindingType> |
getBindingTypes(RegistryPackageType registryPackage)
This is a convenience method that returns all of the ServiceBindingTypes found in the provided
RegistryPackageType
|
List<ExtrinsicObjectType> |
getExtrinsicObjects()
This is a convenience method that returns the list of ExtrinsicObjectTypes extracted from this
class's RegistryPackageType
|
List<ExtrinsicObjectType> |
getExtrinsicObjects(RegistryObjectListType registryObjectList)
This is a convenience method that returns all of the ExtrinsicObjectTypes found in the provided
RegistryObjectListType
|
List<ExtrinsicObjectType> |
getExtrinsicObjects(RegistryPackageType registryPackage)
This is a convenience method that returns all of the ExtrinsicObjectTypes found in the provided
RegistryPackageType
|
List<OrganizationType> |
getOrganizations()
This is a convenience method that returns the list of OrganizationTypes extracted from this
class's RegistryPackageType
|
List<OrganizationType> |
getOrganizations(RegistryObjectListType registryObjectList)
This is a convenience method that returns all of the OrganizationTypes found in the provided
RegistryObjectListType
|
List<OrganizationType> |
getOrganizations(RegistryPackageType registryPackage)
This is a convenience method that returns all of the OrganizationTypes found in the provided
RegistryPackageType
|
List<PersonType> |
getPersons()
This is a convenience method that returns the list of PersonTypes extracted from this class's
RegistryPackageType
|
List<PersonType> |
getPersons(RegistryObjectListType registryObjectList)
This is a convenience method that returns all of the PersonTypes found in the provided
RegistryObjectListType
|
List<PersonType> |
getPersons(RegistryPackageType registryPackage)
This is a convenience method that returns all of the PersonTypes found in the provided
RegistryPackageType
|
List<ServiceType> |
getServices()
This is a convenience method that returns the list of ServiceTypes extracted from this class's
RegistryPackageType
|
List<ServiceType> |
getServices(RegistryObjectListType registryObjectList)
This is a convenience method that returns all of the ServiceTypes found in the provided
RegistryObjectListType
|
List<ServiceType> |
getServices(RegistryPackageType registryPackage)
This is a convenience method that returns all of the ServiceTypes found in the provided
RegistryPackageType
|
void |
setRegistryPackage(RegistryPackageType registryPackage) |
public RegistryPackageTypeHelper()
public RegistryPackageTypeHelper(RegistryPackageType registryPackage)
public void setRegistryPackage(RegistryPackageType registryPackage)
public List<ServiceBindingType> getBindingTypes(RegistryPackageType registryPackage)
registryPackage
- the RegistryPackageType that will be crawled null returns an empty listpublic List<ServiceBindingType> getBindingTypes(RegistryObjectListType registryObjectList)
registryObjectList
- the RegistryObjectListType that will be crawled null returns an empty
listpublic List<ServiceBindingType> getBindingTypes()
public List<ServiceType> getServices(RegistryPackageType registryPackage)
registryPackage
- the RegistryPackageType that will be crawled null returns an empty listpublic List<ServiceType> getServices(RegistryObjectListType registryObjectList)
registryObjectList
- the RegistryObjectListType that will be crawled null returns an empty
listpublic List<ServiceType> getServices()
public List<ExtrinsicObjectType> getExtrinsicObjects(RegistryPackageType registryPackage)
registryPackage
- the RegistryPackageType that will be crawled null returns an empty listpublic List<ExtrinsicObjectType> getExtrinsicObjects(RegistryObjectListType registryObjectList)
registryObjectList
- the RegistryObjectListType that will be crawled null returns an empty
listpublic List<ExtrinsicObjectType> getExtrinsicObjects()
public List<OrganizationType> getOrganizations(RegistryPackageType registryPackage)
registryPackage
- the RegistryPackageType that will be crawled null returns an empty listpublic List<OrganizationType> getOrganizations(RegistryObjectListType registryObjectList)
registryObjectList
- the RegistryObjectListType that will be crawled null returns an empty
listpublic List<OrganizationType> getOrganizations()
public List<PersonType> getPersons(RegistryPackageType registryPackage)
registryPackage
- the RegistryPackageType that will be crawled null returns an empty listpublic List<PersonType> getPersons(RegistryObjectListType registryObjectList)
registryObjectList
- the RegistryObjectListType that will be crawled null returns an empty
listpublic List<PersonType> getPersons()
public List<AssociationType1> getAssociations(RegistryPackageType registryPackage)
registryPackage
- the RegistryPackageType that will be crawled null returns an empty listpublic List<AssociationType1> getAssociations(RegistryObjectListType registryObjectList)
registryObjectList
- the RegistryObjectListType that will be crawled, null returns an
empty listpublic List<AssociationType1> getAssociations()
public <T extends RegistryObjectType> List<T> getAssociatedObjects(RegistryPackageType registryPackage, String id, Class<T> type)
registryPackage
- the RegistryPackageType that will be crawled, null returns an empty listid
- to be used as the sourceObjectId of the Associationtype
- Type of the object to find associations forpublic <T extends RegistryObjectType> List<T> getAssociatedObjects(RegistryObjectListType registryObjectList, String id, Class<T> type)
registryObjectList
- the RegistryObjectList that will be crawled, null returns an empty
listid
- to be used as the sourceObjectId of the Associationtype
- Type of the object to find associations forpublic <T extends RegistryObjectType> List<T> getAssociatedObjects(String id, Class<T> type)
id
- to be used as the sourceObjectId of the Associationtype
- Type of the object to find associations forThis work is licensed under a Creative Commons Attribution 4.0 International License.