|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Identifiers
class should be used to construct standard identifiers.
public interface IdentifierFactory
Factory to create different types of Identifier
implementations.
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 |
---|
AccessRequest createAr()
AccessRequest.setName(String)
afterwards! You may optionally set
the administrative-domain with IdentifierWithAd.setAdministrativeDomain(String)
too (default is left out).
transformAndAddIdentifier
AccessRequest
instanceAccessRequest createAr(String name)
IdentifierWithAd.setAdministrativeDomain(String)
too (default is left out).
name
- the name of the access-request
AccessRequest
instanceAccessRequest createAr(String name, String admDom)
name
- the name of the access-requestadmDom
- the administrative-domain of the access-request
AccessRequest
instanceDevice createDev()
Device.setName(String)
afterwards!
Device
instanceDevice createDev(String name)
name
- the name of the device identifier
Device
instanceIdentity createIdentity()
Identity.setName(String)
and Identity.setType(IdentityType)
afterwards!
Identity
instanceIdentity createIdentity(IdentityType type, String name)
type
- the type of the identity identifiername
- the name of the identity identifier
Identity
instanceIdentity createIdentity(IdentityType type, String name, String admDom)
type
- the type of the identity identifiername
- the name of the identity identifieradmDom
- the administrative-domain of the identity identifier
Identity
instanceIdentity createIdentity(IdentityType type, String name, String admDom, String otherTypeDef)
IdentityType.other
.
type
- the type of the identity identifiername
- the name of the identity identifieradmDom
- the administrative-domain of the identity identifierotherTypeDef
- vendor specific String
Identity
instanceIdentity createIdentity(String name, String admDom, String otherTypeDef)
IdentityType.other
by default.
name
- the name of the identity identifieradmDom
- the administrative-domain of the identity identifierotherTypeDef
- vendor specific String
Identity
instanceIpAddress createIp4()
IpAddress.setValue(String)
afterwards!
IpAddress createIp4(String value)
value
- a String
that represents a valid IPv4 address
IpAddress createIp4(String value, String admDom)
value
- a String
that represents a valid IPv4 addressadmDom
- the administrative-domain
IpAddress createIp6()
IpAddress.setValue(String)
afterwards!
IpAddress createIp6(String value)
value
- a String
that represents a valid IPv6 address
IpAddress createIp6(String value, String admDom)
value
- a String
that represents a valid IPv4 addressadmDom
- the administrative-domain
IpAddress createIp(IpAddressType type, String value, String admDom)
type
- the type of the ip-address identifiervalue
- a String
that represents a valid IPv4/6 addressadmDom
- the administrative-domain
MacAddress createMac()
MacAddress.setValue(String)
afterwards!
MacAddress createMac(String value)
value
- a String
that represents a valid MAC address (lower case)
MacAddress createMac(String value, String admDom)
value
- a String
that represents a valid MAC address (lower case)admDom
- the administrative-domain
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |