Skip to main content
summaryrefslogtreecommitdiffstats
blob: 1be0fd9ca21749542dd168219198151076da07f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package org.eclipse.jpt.jaxb.core.internal.context.java;

import org.eclipse.jpt.jaxb.core.context.JaxbPersistentClass;
import org.eclipse.jpt.jaxb.core.context.JaxbRootContextNode;
import org.eclipse.jpt.jaxb.core.internal.context.AbstractJaxbContextNode;
import org.eclipse.jpt.jaxb.core.resource.java.JavaResourceType;


public class GenericJavaPersistentClass
		extends AbstractJaxbContextNode
		implements JaxbPersistentClass {
	
	protected final JavaResourceType resourceType;

	
	public GenericJavaPersistentClass(JaxbRootContextNode parent, JavaResourceType resourceType) {
		super(parent);
		this.resourceType = resourceType;
	}
	
	
	// ********** synchronize/update **********
	
	public void synchronizeWithResourceModel() {
	}
	
	public void update() {
	}
	
	// ********** JaxbPersistentClass impl **********
	
	public String getName() {
		return this.resourceType.getName();
	}
}

Back to the top