org.yaml.snakeyaml.introspector
Class Property
java.lang.Object
org.yaml.snakeyaml.introspector.Property
- All Implemented Interfaces:
- Comparable<Property>
- Direct Known Subclasses:
- GenericProperty
public abstract class Property
- extends Object
- implements Comparable<Property>
Property
public Property(String name,
Class<?> type)
getType
public Class<?> getType()
getActualTypeArguments
public abstract Class<?>[] getActualTypeArguments()
getName
public String getName()
toString
public String toString()
- Overrides:
toString
in class Object
compareTo
public int compareTo(Property o)
- Specified by:
compareTo
in interface Comparable<Property>
isWritable
public boolean isWritable()
isReadable
public boolean isReadable()
set
public abstract void set(Object object,
Object value)
throws Exception
- Throws:
Exception
get
public abstract Object get(Object object)
Copyright © 2008-2010. All Rights Reserved.