public abstract class GeoDomain
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static interface |
GeoDomain.Visitor |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_ID |
int |
id |
java.lang.String |
title |
Constructor and Description |
---|
GeoDomain() |
GeoDomain(GeoDomain o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
abstract void |
accept(GeoDomain.Visitor visitor) |
void |
check(boolean deep,
java.lang.String errorContext)
Checks this GeoDomain.
|
static GeoDomain |
fromString(java.lang.String s)
String representation of this GeoDomain.
|
int |
getId()
Unique identifier of this domain.
|
java.lang.String |
getTitle() |
GeoDomain |
makeCopy() |
static GeoDomain |
readFrom(java.io.InputStream is)
Read this GeoDomain from an XML fragment.
|
void |
setId(int id)
Unique identifier of this domain.
|
void |
setTitle(java.lang.String title) |
java.lang.String |
toString()
String representation of this GeoDomain.
|
GeoDomain |
withId(int id) |
GeoDomain |
withId(java.lang.Integer id) |
GeoDomain |
withTitle(java.lang.String title) |
void |
writeTo(java.io.OutputStream os) |
public java.lang.String title
public int id
public static final int DEFAULT_ID
public GeoDomain()
public GeoDomain(GeoDomain o)
public void setTitle(java.lang.String title)
public java.lang.String getTitle()
public GeoDomain withTitle(java.lang.String title)
public void setId(int id)
public int getId()
public GeoDomain withId(int id)
public GeoDomain withId(java.lang.Integer id)
public GeoDomain makeCopy()
public static GeoDomain readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static GeoDomain fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
public abstract void accept(GeoDomain.Visitor visitor) throws com.exalead.util.TypedException
com.exalead.util.TypedException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.