Class InstanceIdentifierFactory
- java.lang.Object
-
- org.somda.sdc.biceps.model.participant.factory.InstanceIdentifierFactory
-
public class InstanceIdentifierFactory extends Object
Convenience factory to create instance identifiers.
-
-
Constructor Summary
Constructors Constructor Description InstanceIdentifierFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InstanceIdentifiercreateInstanceIdentifier(String root)Creates an instance identifier solely based on the root.static InstanceIdentifiercreateInstanceIdentifier(String root, String extension)Creates an instance identifier.static InstanceIdentifiercreateInstanceIdentifierWithoutRoot(String extension)Creates an instance identifier solely based on the extension.
-
-
-
Method Detail
-
createInstanceIdentifier
public static InstanceIdentifier createInstanceIdentifier(String root)
Creates an instance identifier solely based on the root.- Parameters:
root- the root to set up.- Returns:
- a new instance.
-
createInstanceIdentifier
public static InstanceIdentifier createInstanceIdentifier(@Nullable String root, @Nullable String extension)
Creates an instance identifier.- Parameters:
root- the root to set up or null if unknown.extension- the extension to set up or null if unknown.- Returns:
- a new instance.
-
createInstanceIdentifierWithoutRoot
public static InstanceIdentifier createInstanceIdentifierWithoutRoot(String extension)
Creates an instance identifier solely based on the extension.- Parameters:
extension- the extension to set up.- Returns:
- a new instance.
-
-