Package org.onosproject.net.domain
Class DomainId
- java.lang.Object
 - 
- org.onlab.util.Identifier<java.lang.String>
 - 
- org.onosproject.net.domain.DomainId
 
 
 
- 
public class DomainId extends Identifier<java.lang.String>
Representation of a domain identity. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static DomainIdLOCALRepresents the domain directly managed by ONOS.- 
Fields inherited from class org.onlab.util.Identifier
identifier 
 - 
 
- 
Constructor Summary
Constructors Constructor Description DomainId(java.lang.String identifier)Constructor of the peer id. 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DomainIddomainId(java.lang.String identifier)Creates a peer id from the string identifier.- 
Methods inherited from class org.onlab.util.Identifier
equals, hashCode, id, toString 
 - 
 
 - 
 
- 
- 
Field Detail
- 
LOCAL
public static final DomainId LOCAL
Represents the domain directly managed by ONOS. 
 - 
 
- 
Method Detail
- 
domainId
public static DomainId domainId(java.lang.String identifier)
Creates a peer id from the string identifier.- Parameters:
 identifier- string identifier- Returns:
 - instance of the class DomainId
 
 
 - 
 
 -