|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.interlis.iom_j.ViewableProperties
public class ViewableProperties
This class implements a lightweight representation of a model.
Constructor Summary | |
---|---|
ViewableProperties()
|
Method Summary | |
---|---|
void |
addAll(ViewableProperties other)
merges the descriptions of another model to this one. |
void |
defineClass(java.lang.String clsName,
java.lang.String[] propNames)
adds a description of a class to this model. |
void |
defineClass(java.lang.String clsName,
ViewableProperty[] properties)
adds a description of a class to this model. |
boolean |
existsClass(java.lang.String clsName)
tests if a given class is known. |
java.lang.String[] |
getClassProperties(java.lang.String iliClsName)
gets the list of properties of an interlis class or assocition. |
ViewableProperty |
getClassProperty(java.lang.String iliClsName,
java.lang.String propName)
gets the description of a property. |
ViewableProperty[] |
getClassVProperties(java.lang.String iliClsName)
gets the list of properties of an interlis class or assocition. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewableProperties()
Method Detail |
---|
public java.lang.String[] getClassProperties(java.lang.String iliClsName)
iliClsName
- qualified Interlis Name of class or association
public ViewableProperty[] getClassVProperties(java.lang.String iliClsName)
iliClsName
- qualified Interlis Name of class or association
public ViewableProperty getClassProperty(java.lang.String iliClsName, java.lang.String propName)
iliClsName
- qualified Interlis Name of class or associationpropName
- name of property
public void defineClass(java.lang.String clsName, java.lang.String[] propNames)
clsName
- qualified Interlis Name of class or associationpropNames
- list of properties.public void defineClass(java.lang.String clsName, ViewableProperty[] properties)
clsName
- qualified Interlis name of class or associationproperties
- list of propertiespublic boolean existsClass(java.lang.String clsName)
clsName
- qualified name of Interlis class or association
public void addAll(ViewableProperties other)
other
- the other model to be merged with this one
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |