public class Ontology extends Modifiable implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_MATCH_ON_SEPARATORS |
boolean |
matchOnSeparators |
java.lang.String |
matchOnSeparatorsBut |
java.util.List<OInclude> |
oInclude |
java.util.List<Pkg> |
pkg |
modifiedAt, modifiedBy
Constructor and Description |
---|
Ontology() |
Ontology(Ontology o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this Ontology.
|
static Ontology |
fromString(java.lang.String s)
String representation of this Ontology.
|
java.lang.String |
getMatchOnSeparatorsBut()
If you want to skip only a set of separators, specify them here
ex: matchOnSeparatorsBut="-_" will match on separators but skip '-' and '_' |
java.util.List<OInclude> |
getOInclude() |
java.util.List<Pkg> |
getPkg() |
boolean |
isMatchOnSeparators()
If you want to skip separators, set this boolean to false
|
Ontology |
makeCopy()
Creates and returns a deep copy of this Ontology.
|
static Ontology |
readFrom(java.io.InputStream is)
Read this Ontology from an XML fragment.
|
void |
setMatchOnSeparators(boolean matchOnSeparators)
If you want to skip separators, set this boolean to false
|
void |
setMatchOnSeparatorsBut(java.lang.String matchOnSeparatorsBut)
If you want to skip only a set of separators, specify them here
ex: matchOnSeparatorsBut="-_" will match on separators but skip '-' and '_' |
java.lang.String |
toString()
String representation of this Ontology.
|
Ontology |
withMatchOnSeparators(boolean matchOnSeparators) |
Ontology |
withMatchOnSeparators(java.lang.Boolean matchOnSeparators) |
Ontology |
withMatchOnSeparatorsBut(java.lang.String matchOnSeparatorsBut) |
Ontology |
withModifiedAt(java.lang.Long modifiedAt) |
Ontology |
withModifiedBy(java.lang.String modifiedBy) |
Ontology |
withOInclude(java.util.Collection<OInclude> __values) |
Ontology |
withOInclude(OInclude... __values) |
Ontology |
withPkg(java.util.Collection<Pkg> __values) |
Ontology |
withPkg(Pkg... __values) |
void |
writeTo(java.io.OutputStream os)
Write this Ontology as an XML fragment
|
getModifiedAt, getModifiedBy, setModifiedAt, setModifiedBy
public boolean matchOnSeparators
public static final boolean DEFAULT_MATCH_ON_SEPARATORS
public java.lang.String matchOnSeparatorsBut
public java.util.List<OInclude> oInclude
public java.util.List<Pkg> pkg
public Ontology()
public Ontology(Ontology o)
public Ontology withModifiedBy(java.lang.String modifiedBy)
withModifiedBy
in class Modifiable
public Ontology withModifiedAt(java.lang.Long modifiedAt)
withModifiedAt
in class Modifiable
public void setMatchOnSeparators(boolean matchOnSeparators)
public boolean isMatchOnSeparators()
public Ontology withMatchOnSeparators(boolean matchOnSeparators)
public Ontology withMatchOnSeparators(java.lang.Boolean matchOnSeparators)
public void setMatchOnSeparatorsBut(java.lang.String matchOnSeparatorsBut)
public java.lang.String getMatchOnSeparatorsBut()
public Ontology withMatchOnSeparatorsBut(java.lang.String matchOnSeparatorsBut)
public java.util.List<OInclude> getOInclude()
public java.util.List<Pkg> getPkg()
public Ontology makeCopy()
makeCopy
in class Modifiable
public static Ontology 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
writeTo
in class Modifiable
javax.xml.bind.JAXBException
java.io.IOException
public static Ontology 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 Modifiable
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class Modifiable
com.exalead.util.TypedException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.