|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.schema.model.constraint.DisplayName
@Immutable public class DisplayName
Constraint that can provide a custom display name. By default has no custom name.
Constructor Summary | |
---|---|
DisplayName()
Create a default constraint that has no custom name. |
|
DisplayName(String customName)
Create a custom display name constraint |
Method Summary | |
---|---|
String |
getCustomName()
Get the custom display name. |
boolean |
isInheritable()
Determines if the constraint is inheritable, meaning it may be used for a sub-type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DisplayName()
public DisplayName(String customName)
customName
- the custom display nameMethod Detail |
---|
public String getCustomName()
null
if
there is no custom namepublic boolean isInheritable()
TypeConstraint
isInheritable
in interface TypeConstraint
TypeConstraint.isInheritable()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |