Class AbstractDefinition
- java.lang.Object
-
- com.ibm.di.connector.ccmdb.model.def.AbstractDefinition
-
- Direct Known Subclasses:
ModelObjectDefinition
,PropertyDefinition
public abstract class AbstractDefinition extends java.lang.Object
The abstract definition for the data model. It provides common class properties.
-
-
Constructor Summary
Constructors Constructor Description AbstractDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDisplayName()
Returns a name for the DI Entry attribute that corresponds to this definition.java.lang.String
getDisplayPrefix()
Returns the namespace prefix of this definition, or null if it is unspecified.boolean
isVisible()
Determines whether this definition is visible in the DI Entry.void
setDisplayName(java.lang.String displayName)
Sets a corresponding DI Entry attribute.void
setDisplayPrefix(java.lang.String displayPrefix)
Sets the namespace prefix of this definition.void
setVisible(boolean visible)
Makes this definition visible or hides depending on the value of parameter visible.
-
-
-
Method Detail
-
isVisible
public boolean isVisible()
Determines whether this definition is visible in the DI Entry.- Returns:
- boolean true if the definition is visible, false otherwise
-
setVisible
public void setVisible(boolean visible)
Makes this definition visible or hides depending on the value of parameter visible.- Parameters:
visible
- true if the definition is visible, false otherwise
-
getDisplayName
public java.lang.String getDisplayName()
Returns a name for the DI Entry attribute that corresponds to this definition.- Returns:
- String the DI Entry attribute name
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
Sets a corresponding DI Entry attribute.- Parameters:
displayName
- the DI Entry attribute name
-
getDisplayPrefix
public java.lang.String getDisplayPrefix()
Returns the namespace prefix of this definition, or null if it is unspecified.- Returns:
- String
-
setDisplayPrefix
public void setDisplayPrefix(java.lang.String displayPrefix)
Sets the namespace prefix of this definition.- Parameters:
displayPrefix
- String
-
-