Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.schema
Class TypeRef<T extends Type>

java.lang.Object
  extended by org.nuxeo.ecm.core.schema.TypeRef<T>
All Implemented Interfaces:
Serializable

public class TypeRef<T extends Type>
extends Object
implements Serializable

A proxy to a type.

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Field Summary
static TypeRef<Type> NULL
           
 
Constructor Summary
TypeRef(String schema, String name)
           
TypeRef(String schema, String name, T object)
           
 
Method Summary
 boolean equals(Object obj)
           
 T get()
           
 String getName()
           
 String getSchema()
           
 int hashCode()
           
 boolean isLoaded()
           
 T reload()
           
 void reset()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NULL

public static final TypeRef<Type> NULL
Constructor Detail

TypeRef

public TypeRef(String schema,
               String name,
               T object)

TypeRef

public TypeRef(String schema,
               String name)
Method Detail

getName

public String getName()

getSchema

public String getSchema()

get

public T get()

isLoaded

public boolean isLoaded()

reload

public T reload()

reset

public void reset()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.