de.fhhannover.inform.trust.ifmapj.identifier
Interface IdentifierFactory


Deprecated. Identifiers class should be used to construct standard identifiers.

public interface IdentifierFactory

Factory to create different types of Identifier implementations.

Author:
aw

Method Summary
 AccessRequest createAr()
          Deprecated. Create an access-request identifier.
 AccessRequest createAr(String name)
          Deprecated. Create an access-request identifier with the given name.
 AccessRequest createAr(String name, String admDom)
          Deprecated. Create an access-request identifier with the given name and the given administrative-domain.
 Device createDev()
          Deprecated. Create a device identifier.
 Device createDev(String name)
          Deprecated. Create a device identifier with the given name.
 Identity createIdentity()
          Deprecated. Create an identity identifier.
 Identity createIdentity(IdentityType type, String name)
          Deprecated. Create an identity identifier with the given name and the given type.
 Identity createIdentity(IdentityType type, String name, String admDom)
          Deprecated. Create an identity identifier with the given parameters.
 Identity createIdentity(IdentityType type, String name, String admDom, String otherTypeDef)
          Deprecated. Create an identity identifier.
 Identity createIdentity(String name, String admDom, String otherTypeDef)
          Deprecated. Create an identity identifier.
 IpAddress createIp(IpAddressType type, String value, String admDom)
          Deprecated. Create an ip-address identifier with the given parameters.
 IpAddress createIp4()
          Deprecated. Create an ip-address identifier for IPv4.
 IpAddress createIp4(String value)
          Deprecated. Create an ip-address identifier for IPv4 with the given value.
 IpAddress createIp4(String value, String admDom)
          Deprecated. Create an ip-address identifier for IPv4 with the given value and the given administrative-domain.
 IpAddress createIp6()
          Deprecated. Create an ip-address identifier for IPv6.
 IpAddress createIp6(String value)
          Deprecated. Create an ip-address identifier for IPv6 with the given value.
 IpAddress createIp6(String value, String admDom)
          Deprecated. Create an ip-address identifier for IPv6 with the given parameters.
 MacAddress createMac()
          Deprecated. Create a mac-address identifier.
 MacAddress createMac(String value)
          Deprecated. Create a mac-address identifier with the given value.
 MacAddress createMac(String value, String admDom)
          Deprecated. Create a mac-address identifier with the given parameters.
 

Method Detail

createAr

AccessRequest createAr()
Deprecated. 
Create an access-request identifier. You MUST set the name with AccessRequest.setName(String) afterwards! You may optionally set the administrative-domain with IdentifierWithAd.setAdministrativeDomain(String) too (default is left out). transformAndAddIdentifier

Returns:
the new AccessRequest instance

createAr

AccessRequest createAr(String name)
Deprecated. 
Create an access-request identifier with the given name. You may optionally set the administrative-domain with IdentifierWithAd.setAdministrativeDomain(String) too (default is left out).

Parameters:
name - the name of the access-request
Returns:
the new AccessRequest instance

createAr

AccessRequest createAr(String name,
                       String admDom)
Deprecated. 
Create an access-request identifier with the given name and the given administrative-domain.

Parameters:
name - the name of the access-request
admDom - the administrative-domain of the access-request
Returns:
the new AccessRequest instance

createDev

Device createDev()
Deprecated. 
Create a device identifier. You MUST set the name with Device.setName(String) afterwards!

Returns:
the new Device instance

createDev

Device createDev(String name)
Deprecated. 
Create a device identifier with the given name.

Parameters:
name - the name of the device identifier
Returns:
the new Device instance

createIdentity

Identity createIdentity()
Deprecated. 
Create an identity identifier. You MUST set its name and type by using Identity.setName(String) and Identity.setType(IdentityType) afterwards!

Returns:
the new Identity instance

createIdentity

Identity createIdentity(IdentityType type,
                        String name)
Deprecated. 
Create an identity identifier with the given name and the given type.

Parameters:
type - the type of the identity identifier
name - the name of the identity identifier
Returns:
the new Identity instance

createIdentity

Identity createIdentity(IdentityType type,
                        String name,
                        String admDom)
Deprecated. 
Create an identity identifier with the given parameters.

Parameters:
type - the type of the identity identifier
name - the name of the identity identifier
admDom - the administrative-domain of the identity identifier
Returns:
the new Identity instance

createIdentity

Identity createIdentity(IdentityType type,
                        String name,
                        String admDom,
                        String otherTypeDef)
Deprecated. 
Create an identity identifier.

Note: otherTypeDef != null should imply type IdentityType.other.

Parameters:
type - the type of the identity identifier
name - the name of the identity identifier
admDom - the administrative-domain of the identity identifier
otherTypeDef - vendor specific String
Returns:
the new Identity instance

createIdentity

Identity createIdentity(String name,
                        String admDom,
                        String otherTypeDef)
Deprecated. 
Create an identity identifier. Note: The type is set to IdentityType.other by default.

Parameters:
name - the name of the identity identifier
admDom - the administrative-domain of the identity identifier
otherTypeDef - vendor specific String
Returns:
the new Identity instance

createIp4

IpAddress createIp4()
Deprecated. 
Create an ip-address identifier for IPv4. You MUST set its value with IpAddress.setValue(String) afterwards!

Returns:
the new ip-address identifier

createIp4

IpAddress createIp4(String value)
Deprecated. 
Create an ip-address identifier for IPv4 with the given value.

Parameters:
value - a String that represents a valid IPv4 address
Returns:
the new ip-address identifier

createIp4

IpAddress createIp4(String value,
                    String admDom)
Deprecated. 
Create an ip-address identifier for IPv4 with the given value and the given administrative-domain.

Parameters:
value - a String that represents a valid IPv4 address
admDom - the administrative-domain
Returns:
the new ip-address identifier

createIp6

IpAddress createIp6()
Deprecated. 
Create an ip-address identifier for IPv6. You MUST set its value with IpAddress.setValue(String) afterwards!

Returns:
the new ip-address identifier

createIp6

IpAddress createIp6(String value)
Deprecated. 
Create an ip-address identifier for IPv6 with the given value.

Parameters:
value - a String that represents a valid IPv6 address
Returns:
the new ip-address identifier

createIp6

IpAddress createIp6(String value,
                    String admDom)
Deprecated. 
Create an ip-address identifier for IPv6 with the given parameters.

Parameters:
value - a String that represents a valid IPv4 address
admDom - the administrative-domain
Returns:
the new ip-address identifier

createIp

IpAddress createIp(IpAddressType type,
                   String value,
                   String admDom)
Deprecated. 
Create an ip-address identifier with the given parameters.

Parameters:
type - the type of the ip-address identifier
value - a String that represents a valid IPv4/6 address
admDom - the administrative-domain
Returns:
the new ip-address identifier

createMac

MacAddress createMac()
Deprecated. 
Create a mac-address identifier. You MUST set its value with MacAddress.setValue(String) afterwards!

Returns:
the new mac-address identifier

createMac

MacAddress createMac(String value)
Deprecated. 
Create a mac-address identifier with the given value.

Parameters:
value - a String that represents a valid MAC address (lower case)
Returns:
the new mac-address identifier

createMac

MacAddress createMac(String value,
                     String admDom)
Deprecated. 
Create a mac-address identifier with the given parameters.

Parameters:
value - a String that represents a valid MAC address (lower case)
admDom - the administrative-domain
Returns:
the new mac-address identifier


Copyright © 2012 Trust@FHH. All Rights Reserved.